driver.Requests is empty with firefox driver
See original GitHub issueim trying to run the code snippet in the docs but my driver.Requests
doesn’t return anything.
from seleniumwire import webdriver # Import from seleniumwire
# Create a new instance of the Firefox driver
driver = webdriver.Firefox(seleniumwire_options={'port':6000})
# Go to the Google home page
driver.get('https://www.google.com')
driver.requests
driver.requests returns [] seleniumwire version: 4.0.2, selenium version 3.141.0, python 3.7.5
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
empty requests in seleniumwire python - Stack Overflow
I'm using selenium-wire to scrape requests headers in Ubuntu 18.04 and using Firefox driver. But driver.requests is empty. what's the ...
Read more >driver.requests empty when using with safari #104 - GitHub
I am trying to get all requests made when I go to a website. When I use Chrome as the webdriver, it works...
Read more >1471262 - WebDriver:TakeScreenshot returns empty string
Yes I can help if I can. I am not familiarized how to debug Mozilla code from another project (in my case, my...
Read more >selenium-wire - PyPI
Chrome, Firefox, Edge and Remote Webdriver supported ... This is more efficient than using driver.requests[-1]. ... Empty for non-HTTPS requests.
Read more >7. WebDriver API — Selenium Python Bindings 2 documentation
Uninstalls Firefox addon using its identifier. Usage: driver.uninstall_addon('addon ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Okay it seems to have been something in my code that was causing it to mess up, sorry for the inconveneince. The following wokrs:
This spam a few errors though:
But I think I can get everything to work from here.
I removed all the sw options and it still won’t work, in another part of my script I do set a normal selenium/firefox profile but it isn’t used, I’ll try removing that too
output: []