Search code examples
pythonseleniumselenium-webdriversplinter

Web page already open (in source format); just need to read that text, using Selenium


Let's say I have a tab already open in the browswer. Its URL is:

view-source:http://www.google.com/webhp?source=search_app

Now that it's already open and displayed, I just want to read the text that's in the client window. (Get a context to the page, or obtain its object (as opposed to creating a new browser object), or whatever. Then just read the page.)

Is there any methodology in Selenium, Splinter that allows for that? Thanks for any help.


Solution

  • If you are asking if you can attach to an already open browser, then I believe the answer is "No".