ArnaudBuchholz / ui5-test-runner

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

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

Closed ArnaudBuchholz closed 4 months ago

ArnaudBuchholz commented 5 months ago

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

ArnaudBuchholz commented 4 months 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.