# 'Maximum Browser Window' in Browser library

**URL:** <https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563>\
**Category:** Browser\
**Created:** [6 April 2022 08:42 UTC](https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563 "2022-04-06T08:42:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GalManz](https://avatars.discourse-cdn.com/v4/letter/g/d2c977/32.png) [@GalManz](https://forum.robotframework.org/u/GalManz)\
**Post date:** [6 April 2022 08:42 UTC](https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563/1 "2022-04-06T08:42:29Z")

</div>

Hi,

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

Thanks

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [6 April 2022 09:56 UTC](https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563/2 "2022-04-06T09:56:33Z")

</div>

Hi Gal,

I don’t know there is a direct equivalent but there is [Set Viewport Size](https://marketsquare.github.io/robotframework-browser/Browser.html#Set%20Viewport%20Size) which will let you specify the window size. with that you should be able to achieve what you want.

Dave.

---

<div class="post-metadata">

**Author:** ![ILiterallyCannot](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/iliterallycannot/32/2265_2.png) [@ILiterallyCannot](https://forum.robotframework.org/u/ILiterallyCannot)\
**Post date:** [27 March 2023 06:43 UTC](https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563/3 "2023-03-27T06:43:42Z")

</div>

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}
