Closed EnigmaSaikat closed 2 months ago
There is no such --start-maximized
command line argument for Firefox. You could use --window-size
and specifying a fixed width and height like --window-size 1280x1024
. Otherwise let geckodriver start Firefox as normal and then run the Maximize Window
command to switch to maximize mode.
System
Testcase
options.addArguments("--start-maximized"); :not maximizing the firefox browser like this
Instead, it is opening like this
for options.addArguments("--kiosk");