Can test screen resolution be expanded or customized?

selenium

#1

Our build experiences failures related to links not being visible. The screenshot artifacts reveal that the screen resolution (or browser window size) at which tests are executed is much smaller than how we typically run the application. This triggers page styles that target mobile devices.

I’ll be trying to alter our tests to accommodate this, but it’s awkward and likely to continue causing surprising failures in the future (since we develop at larger screen resolution as well). Can the screen resolution at which browser tests are run be increased or customized?

Thanks,
Joey


#2

Which testing frameworks are you using? In Selenium, it should possible to adjust the size of the window following the instructions right here.


#3