ArnaudBuchholz / ui5-test-runner

A test runner for UI5 applications enabling parallel execution of tests.
https://arnaudbuchholz.github.io/ui5-test-runner/
MIT License
18 stars 9 forks source link

Remove `--start-maximized` if `width` and `height` are specified #93

Closed ArnaudBuchholz closed 1 week ago

ArnaudBuchholz commented 2 weeks ago

https://github.com/ArnaudBuchholz/ui5-test-runner/blob/main/src/defaults/browser.js#L155

ArnaudBuchholz commented 1 week ago

https://stackoverflow.com/questions/59475061/is-it-possible-to-open-chrome-both-headless-and-maximized-using-command-line-fl

 I have returned 3 years later with the knowledge that "headless" means that it runs as an invisible process (no GUI) and so the terms "headless" and "maximized" are meaningless together. I believe I was looking for a way to launch an app in fullscreen mode. I still don't have the answer, but I hope this helps any internet travelers that come across this unanswered question.

So it is OK to keep --start-maximized : in headless mode, default (or specified) width/height would apply. Otherwise, the window would fit the screen size.