Resize command positions browser partially off screen

When I use the resize command to resize my browser window, it is sometimes offset and half the browser is off screen after resizing. Are there any parameters to position the top left corner of the browser to the top left corner of the screen to ensure nothing is half off the screen? Or to make sure the entire browser is on screen?

Thanks,
Deanna

Why is it important that the complete browser is visible? And are you using Windows, Mac or Linux?

We are chrome casting the automation to a couple monitors so we can monitor it and wanted it to appear on screen. What we did was:

{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”
},
{
"Command": “XType”,
"Target": “${KEY_F11}”,
“Value”: “”
},
{
“Command”: “resize”,
“Target”: “1024@768”,
“Value”: “”
},

Opening the browser to fullscreen then resizing keeps it on the screen.

Thanks a lot for posting your nice workaround :slight_smile: