-
Notifications
You must be signed in to change notification settings - Fork 34
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
How to specify screen resolution? #178
Comments
This depends on the tools you are using. Different tools have different ways to go about things. Since this is a server image, there's no real screen or monitor but you can change the virtualized window size. For example, if you were using Selenium (pre-installed) and Firefox, this Doc shows the setting you'd want to change: https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/firefox_exports_Options.html#windowSize |
Thank you, I'm using Testcafe which uses this method (https://testcafe.io/documentation/402696/reference/test-api/testcontroller/maximizewindow#header) in combination with the cimg-node, google chorme and browser-tools. I am getting this warning when tests finish.
Here is the job config:
|
@avilano I can only presume that this is an issue with testcafe at this point. I don't have any experience with it, but with selenium running Here is a screenshot from the test running in CircleCI using |
I'm going to close this issue as it doesn't appear to be directly tied to the image as I was able to set the window size as above. Please feel free to reopen this if required. |
I can't find a way to change the screen resolution for the ubuntu image in order to run browser tests.
The text was updated successfully, but these errors were encountered: