I’m trying to run a test case using Chrome headless.
In my script, there is a button that is visible only if the browser window is maximized (otherwise it’s hidden). I tried to add a capability for this (start-maximized, window-size) but it didn’t work. It could be that I did it the wrong way so if you know the right way of doing that please explain how.
By the way, using Firefox headless it’s working without adding any additional capabilities.