How to select text from pop up which is opened in the same page in Selenium.
With WebDriver I can only check the element from the page, not from pop up.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.Sign up to join this community
Handling pop-up is somewhat hard in with Selenium, mainly because there are three types of popups.
Dialogs in HTML
This is not real popup, but they make the background darker/blurred and look like a dialog. Actually, they are just an HTML div with content. Handle them like any other web-element.
This is a new window that opens above (or below) the current window. You first need to switch to the window before you can access its contents. You also need to switch back afterward.