Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
176 views
by Contributing Tester (12 points)
edited by
Is it possible to write automation script for duplicating window?
by Master (1.2k points)
Can you provide more details? What do you mean by duplicating window?

1 Answer

0 like 0 dislike
by The go-to Tester (161 points)
Yes, Its possible.

As I understand your query: You want to duplicate the existing window. So, you can get the current URL opened in the window -  driver.getURL() and  then navigate to the second tab with driver.navigateTo() and open the URL.

Please update here if this is the expected response. Thanks


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...