Icon

Selenium_​Popup_​Window

These actions are performed within the popup window This example workflow shows how you can interact with popup windows.At the moment, the Selenium Nodes do not provide dedicated nodes forworking with popup windows. However, you can use some Java coding andthe Selenium API to (1) switch to a popup window *which is already open* (e.g. by clicking abutton)(2) close this popup window once you're done Node 1Node 2Find the link which triggers the popupClick the link to open the popupSwitch to popupFind the <h1>element in the POPUP windowGet the textClose popup and switch back to main windowFind the <h1> element in the MAIN windowGet the textNode 12 WebDriver Factory Start WebDriver Find Elements Click Java Snippet Find Elements Extract InnerHTML Java Snippet Find Elements Extract InnerHTML Quit WebDriver These actions are performed within the popup window This example workflow shows how you can interact with popup windows.At the moment, the Selenium Nodes do not provide dedicated nodes forworking with popup windows. However, you can use some Java coding andthe Selenium API to (1) switch to a popup window *which is already open* (e.g. by clicking abutton)(2) close this popup window once you're done Node 1Node 2Find the link which triggers the popupClick the link to open the popupSwitch to popupFind the <h1>element in the POPUP windowGet the textClose popup and switch back to main windowFind the <h1> element in the MAIN windowGet the textNode 12WebDriver Factory Start WebDriver Find Elements Click Java Snippet Find Elements Extract InnerHTML Java Snippet Find Elements Extract InnerHTML Quit WebDriver

Nodes

Extensions

Links