set window size for chrome in jenkins

903 views
Skip to first unread message

mrxico88

unread,
Mar 22, 2016, 4:16:00 PM3/22/16
to robotframework-users
Hi everyone,

Currently i am working on setting up robot framework for Jenkins on my local computer. However, I got a problem of expanding chrome browser in Jenkins virtual machine. It seems to have window screen size of 800x600 at the moment
I use keyword "Set Window Size" from selenium2library to expand window size to 1650x1050 which is the minimum for my web GUI test. This keyword works perfectly in firefox but does not affect chrome at all.

Do you have any idea why? (I guess maybe some problems with chromedriver) And can you suggest some workaround for this issue?

Thank you in advance!

Jerry Schneider

unread,
Mar 22, 2016, 5:10:25 PM3/22/16
to robotframe...@googlegroups.com
have you made sure that your virtual framebuffer is sized correctly?  Chrome may not allow expanding beyond the Virtual Framebuffer max size.

https://en.wikipedia.org/wiki/Xvfb

jer
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

-- 
Linux registered user #475536
Ubuntu registered user #28583
Reply all
Reply to author
Forward
0 new messages