Hi,
I am running selenium test in bamboo elastic agent (windows). The viewport size is 1040 * 784. I just need to increase the screen resolution. Is it possible to set screen resolution as part of AMI?
Hello,
can somebody answer to last question please:
"What if headless is not suitable option?"
Hi Venkateswari,
You can increase this as part of your code. What language are you using for testing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try
driver.manage().window().setSize(new Dimension(1024, 768))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since the maximum screen resolution is low, using the above won't increase viewport size beyond screen resolution.
Running in chrome headless is working fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.