New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chromeOptions not accepting window-size argument #13
Comments
I can't reproduce it, my protractor tests have no problem with 'window-size=1366,768' You can try adding 'disable-gpu', it's recommended with headless for now.
|
Thanks for quick confirmation. Tried adding 'disable-gpu' . No success. Tried debian version , got exactly same behaviour as alpine. Everything runs fine when 'window-size=1366,768' argument is removed but that runs in default window size 800,600 it seems , so test cases fail due to overlapping of components.
Can it be a privilage or chrome user issue ? Though i tried using --privileged while running docker as shown in jenkinsfile above. |
try adding |
--shm-size=1gb solved the issue . Thank you !! . |
dockerfile:
Protractor.conf.js :
Error
UnhandledPromiseRejectionWarning: WebDriverError: no such session
Tried
1.In jenkinsfile :
Detailed Error :
Stackoverflow :
Stackoverflow..
The text was updated successfully, but these errors were encountered: