How To Access Selenium Webdriver Through Splinter in Python
Hi, I posted this to Stackoverflow but not sure there's many people on there that know about Splinter, so I thought I'd post it here incase any of you have an idea :)
Here's the post: https://stackoverflow.com/questions/58106735/how-to-access-selenium-webdriver-through-splinter-in-python
Thanks for your time, really appreciate it.
The selenium webdriver is exposed by driver browser attribute:
>>> from splinter import Browser
b>>> b = Browser()
>>> b.driver
<selenium.webdriver.firefox.webdriver.WebDriver (session="e607ceaa-2c63-435e-9991-432376102bf5")>
>>>
Thanks a ton Andrew - that's weird I tried that from memory and it didn't work! I must have done something wrong. Will test it out later when I get home. Thanks for your time.
On Fri, Sep 27, 2019 at 2:47 AM Andrews Medina [email protected] wrote:
The selenium webdriver is exposed by driver browser attribute:
from splinter import Browser b>>> b = Browser() b.driver <selenium.webdriver.firefox.webdriver.WebDriver (session="e607ceaa-2c63-435e-9991-432376102bf5")>
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cobrateam/splinter/issues/718?email_source=notifications&email_token=ANKEFF65OI7S4LVJOELLC3TQLVQ2NA5CNFSM4I25YQ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7XOESQ#issuecomment-535749194, or mute the thread https://github.com/notifications/unsubscribe-auth/ANKEFF7SO6VAVCOCZ6FFOTTQLVQ2NANCNFSM4I25YQ6A .
Issue seems solved, so closing.