How do I set the window position to the left/right side of the screen
I am executing a test using Selenium, that is executed on 3 browsers in parallel. I want to position the windows the next way: left side, right side and bottom, So basically i'm looking for a command on Selenium that does the same effect as (start btn+left btn...) I have tried using these commands: driver.manage().window().setSize(new Dimension(800,650)); driver.manage().window().setPosition(new Point(0,0)); But the problem is that I need to enter the exact coordinates and when executing the test on different screens it might be a problem.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.