Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

increasing bamboo agent screen resolution

venkateswari December 19, 2017

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?

2 answers

0 votes
Ivan Irbis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 26, 2019

 

Hello,

can somebody answer to last question please:

"What if headless is not suitable option?"

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2017

Hi Venkateswari,

You can increase this as part of your code. What language are you using for testing?

venkateswari December 21, 2017

Hi,

I am using java. I want to increase screen resolution. 

Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 21, 2017

Try 

driver.manage().window().setSize(new Dimension(1024, 768))
venkateswari December 22, 2017

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.

ParanoikCZE June 20, 2019

What if headless is not suitable for us?

Like Ivan Irbis likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events