SarahEdwards
9 years agoContributor
TC runs browser on monitor left of main display
On my PC where I'm developing my tests, TC always opens the browser window on the monitor to the left of the "main display" (as defined by Windows). Is there any way to specify another monitor? My le...
- 9 years ago
In addition to what tristaanogre said, you can use .Position() to change the window position.
function Test()
{
Browsers.Item(btChrome).Run();
var bw = Sys.Browser().BrowserWindow(0);
// Move the browser window to (0, 0) and maximize
bw.Restore();
bw.Position(0, 0, bw.Width, bw.Height);
bw.Maximize();
}