'Maximum Browser Window' in Browser library

Hi,

Which keyword in the Browser library do the same as the selenium library keyword ‘Maximum Browser Window’?

Thanks

Hi Gal,

I don’t know there is a direct equivalent but there is Set Viewport Size which will let you specify the window size. with that you should be able to achieve what you want.

Dave.

Hi, There is not a keyword but it is possible.
Try:
New Browser ${Your browser here} headless=false args=[“–start-maximized”]
New Context viewport=${None}

You can also try this if you need to use a direct path and have any https errors:

New Browser execuatblePath=/path/to/browser.exe headless=false args=[“–start-maximized”]
New Context ignoreHTTPSErrors=true viewport=${None}