Posted: 14 Oct 2020 14:17 EDT Last activity: 16 Oct 2020 9:19 EDT
Solution for hiding the chrome Browser?
Query: Looking to hide the chrome browser as soon as it starts at runtime and then able to navigate through it
In reference to this article i tried the solution of using a windows adaptor to hide the browser and using Monitor all with Pega extension (for chrome) to do some navigations.
Issue is : I don't want to affect any already open browser or any browser that is open after project has started by the user
So how do i uniquely identify the browser that i can hide or make changes to
Here is an example. It uses the BrowserForm.Handle property of a page in Chrome to get a reference to the Page's window handle. You can then use a little C# in a script to show/hide the window.
// Script generated by Pega Robot Studio 184.108.40.206
// Please use caution when modifying class name, namespace or attributes
public sealed class Script
private const int SW_HIDE = 0;
private const int SW_SHOW = 5;
private static extern int ShowWindow(int hwnd, int nCmdShow);
public void HideWindow(IntPtr windowHandle)
public void ShowWindow(IntPtr windowHandle)
Posted: 3 months ago
Updated: 3 months ago
Posted: 16 Oct 2020 4:30 EDT Updated: 16 Oct 2020 10:58 EDT
In the Object Explorer window in the upper right corner is an icon that looks like a list. If you hover your cursor over it, you see the text "Explore Component Properties". Clicking this switches to a view of the Properties of the selected control. From here, you can locate the "BrowserForm" property and then access its "Handle" property.