Currently I am working on running Selenium scripts in Jenkins. Here, my issue is my browser window size which is 1382x754 px resolution.
But in Jenkins browser resolution was 1044x784. Due to this my script was unable to find the elements using x-path in Jenkins.
I have tried by setting the window size while initializing the driver, then window size is increased to 1048x788 px and then it is not increasing any more.
Any suggestions for any work around for this issue?
Environment : Windows 7 , Jenkins version(1.596), browser: Chrome