power_settings_new
Is it possible to write automation script for duplicating window?
by (1.1k points)
Can you provide more details? What do you mean by duplicating window?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (161 points)
0 votes
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
add
...