Currently, I am utilizing the WD.js webdriver client for node.js to conduct testing on my application.
Upon triggering a button click within my app, a new browser window pops up. As expected with Selenium, the old window remains active.
My attempt to use the window()
method from wd.js in order to transition to the new window was unsuccessful as it requires a window name parameter that has not been specified.
Is there a method available to seamlessly switch between windows without prior knowledge of their names?