Skip to main content

Setting Browser Specific Options

Selenium provides options classes for each of the supported browsers with all of their custom settings. Rather than re-implement these, the Sauce Bindings Options classes can be constructed with an instance of one of these Selenum browser object classes. Here is a Selenium Chrome Options class with an argument to start the browser in Full Screen Mode:

https://github.com/saucelabs/sauce_bindings/tree/website-1.2.0/java/junit5/src/test/java/com/saucelabs/saucebindings/junit5/examples/BrowserOptionsTest.java