Closed nu1ee closed 3 years ago
@nu1ee Can you share the code that creates the driver
instance?
Make sure you are not importing both seleniumwire webdriver and selenium webdriver @nu1ee
On Tue, 14 May 2019 at 17:53, Will Keeling notifications@github.com wrote:
@nu1ee https://github.com/nu1ee Can you share the code that creates the driver instance?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wkeeling/selenium-wire/issues/48?email_source=notifications&email_token=AHQS45YNVKUF5JIDGACDPYLPVKVMPA5CNFSM4HMU6DK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLJVDI#issuecomment-492214925, or mute the thread https://github.com/notifications/unsubscribe-auth/AHQS453H7RWNZTOWEGMIMQTPVKVMPANCNFSM4HMU6DKQ .
Yes, the issue was importing from selenium import webdriver
instead of seleniumwire
.
from seleniumwire import webdriver
driver = webdriver.Firefox('./')
driver.get('https://google.com')
for r in driver.requests:
print(r.path, r)
Unable to get header information after click?
from seleniumwire import webdriver