splinter icon indicating copy to clipboard operation
splinter copied to clipboard

How To Access Selenium Webdriver Through Splinter in Python

Open JeffreyWinger55 opened this issue 7 years ago • 3 comments

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.

JeffreyWinger55 avatar Sep 26 '19 18:09 JeffreyWinger55

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")>
>>> 

andrewsmedina avatar Sep 27 '19 01:09 andrewsmedina

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 .

JeffreyWinger55 avatar Sep 27 '19 02:09 JeffreyWinger55

Issue seems solved, so closing.

javascript-error avatar Jul 12 '20 16:07 javascript-error