Forum Discussion
Hi,
> when I Switch to monitor the scrip breaks .
Where? At what line of code? What is the text of the error in test log?
> Sys.Browser("chrome").BrowserWindow(0).Position(0, 0, 1920, 1080);
Note that this line sets the size of the BrowserWindow object that is not the top-level one of the browser but one of the child ones. With the display size of 1920x1080 the above line will not set the size of the BrowserWindow object to 1920x1080 because some display space will be required for browser's caption, status line, main menu and, possibly, other objects that are siblings to the BrowserWindow.
- sonya_m5 years agoSmartBear Alumni (Retired)
Thanks everyone!
AutoBeginner Did you figure out what was causing this? Please share your progress with us so the Community can see if more help is needed!
Related Content
- 2 years ago
- 2 years ago