Using Karate - geckodriver (Firefox) I need to run it in specific browser window size. According to documentation I have tried (JS configuration file):
karate.configure('driver', { type: 'geckodriver', executable: 'geckodriver', start: false, port: 4444, addOptions: ['windows-size=320,200'] });
or
karate.configure('driver', { type: 'geckodriver', executable: 'geckodriver', start: false, port: 4444, addOptions: ['--windows-size=320,200'] });
No error raised, but window size is not 320,200. Probably there will be some small change in configuration needed.
Thank you for help.