Problem Statement :
THe application for which I am executing the selenium script, takes different resolution in different machines like laoptop, Desktop etc. Could someone please tell a solution, if there is one time setup that we can do in the automation script once the chromedriver starts. Something like chromeoptions
I tried below methods:
- Created a zoominZoomout method, which executed javascript executor and sets the zoom. I dont want to use this becasue i have to call this method whereever it is needed while navigating to a new page. if the same code is executed in other' system, this may fail.
- Created method with key control, i have to follow the same callings as trial1.