Is it possible to pass control of a USER OPENED Browser to a Selenium webdriver? For example, lets say, I'm browsing a site (manually) and like a particular page
www.facebook.com and I decide to scrape it. How can I pass control of THIS PAGE to my chrome web driver and have selenium do whatever scraping I need? I dont mind switching browsers and I use a Mac.
I was able to figure out how to initiate a browser session from the webdriver and then pick it up with another web driver later on using the session id and executor url, however, I need the user to be able to initiate the session. How can this be achieved?
PS: I know I can use the .get(url) or .gotourl(url) methods and make selenium go to any site I want, but instead I'd like the browser to be already opened in whatever user browsing session, and upon user discretion, have selenium scrape that particular site on request. He needs to have minimal to no code intervention. How might we achieve this?
Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots