My test cases are successfully executing through the terminal and Maven in my local environment but when I run the tests in a Jenkins job, they fail due to the browser size. (I have taken a screenshot and from the screenshot I determined that browser size was small.)
(One thing I am not clear on is - Is the browser size dependent on the system screen size?)
My test tries to select a value from drop down but due to end of the page Selenium fails to select the value from drop down. The test passes locally, as the page is rendered so that the drop down is on screen and does not need to be scrolled to.
If any one is aware about this issue please share your views and experience.