Questions tagged [seleniumwire]

Selenium Wire is a python package that extends the original Python bindings provided by Selenium in order to provide the tests with additional access to the underlying requests that were made by the browser. Use this tag for questions related to the Selenium Wire package.

Selenium Wire package: https://github.com/wkeeling/selenium-wire

29 questions
0
votes
0 answers

Python - Proxy in selenium-wire doesn't hide IP

I am trying to scrape ali express. And as it is known, my ip could be banned if a scraping attempt is detetced... That's why I am trying to hide my IP with a proxy in selenium wire , but when I check in a IP website, it gives me the same IP as when…
0
votes
0 answers

proxy socket connection closes immediately after webdriver loads using seleniumwire

when i run a simple driver.get using selenium-wire with proxy option, i get an error. here is the script: from seleniumwire import webdriver options = webdriver.ChromeOptions() options = { 'connection_timeout': None, 'proxy': { …
The Oracle
  • 406
  • 1
  • 3
  • 12
0
votes
0 answers

python selenium-wire handling HTTP Status 410 to get file

My work is to scrape a website, make click on the download button of an excel file and capture the request to read with pandas from there (I don't want to read the file in the disk), for this purpose i'm using selenium-wire, but it seems the file is…
David López
  • 311
  • 2
  • 13
0
votes
1 answer

multiple seleniumwire requests in same script

I'm running a Python scripts that does the following: Open webpage Login to game with login form Wait for page to load (get Json response of Ajax request) Perform a couple of clicks Click on a button which triggers an ajax request Need to read json…
remyremy
  • 2,818
  • 3
  • 26
  • 44
0
votes
0 answers

selenium web driver proxy authentication issue

I have tried below codes to give proxy authentication from selenium web driver, but it is not taking the credentials. from selenium import webdriver from selenium.webdriver.firefox.options import Options USER_AGENT= "Mozilla/5.0 (Windows NT…
0
votes
0 answers

How to set HTTP proxy for selenium-wire?

I am trying to set HTTP proxy for selenium-wire, but I can't get it working. I know that selenium-wire blocks proxies by default, but I heard that you can still set proxies with it. I read the documentation, but that didn't help either. Is there any…
AnoniG
  • 1
0
votes
2 answers

Cant interact with iframe after switching to it Python/Selenium-wire

I'm trying to interact with a button on a page with the following structure. The button of interest is within a div in the body of an iframe, which is inside the main body. I've already read all the StackOverflow questions about how to switch to an…
qoob
  • 25
  • 5
0
votes
0 answers

What can be used for automating webservices instead of selenium-wire?

I am trying to automate web services (underlying requests made by the browser) behind the specific web page.First capture network traffic and then logging just some of specific urls in the log file. Do you have any idea regarding tools,…
0
votes
1 answer

Seeing logs in a different format while capturing network traffic using selenium-wire python

While capturing http requests of webservice from website backend seeing some logs are in different format. I'm using python logging as a format: logging.basicConfig(format='%(asctime)s %(levelname)-4s %(message)s', …
0
votes
1 answer

Manipulate POST-Method with Python

I want to use a POST-Method with an Parameter in Request Body. After some research I found the library seleniumwire. I tried this: from seleniumwire import webdriver driver= webdriver.Firefox() driver.header_overrides = { 'myfirstparamter':…
marie1995
  • 39
  • 3
  • 8
0
votes
1 answer

seleniumwire_options=None: SyntaxError: invalid syntax

I am using selenium-wire to click a button using Chrome browser. Up until today, my code worked fine. However, now I get the following error and I am not sure why: Traceback (most recent call last): File "Scraping_fx.py", line 1, in from…
AntsaR
  • 370
  • 1
  • 7
  • 23
-1
votes
1 answer

Can't log in using Selenium

hello i am trying to login in website https://golden77.com but can not login it give following error selenium.common.exceptions.ElementClickInterceptedException: Message: Element
User 111
  • 1
  • 2
-1
votes
0 answers

Selenium wire proxy not capturing requests

I am facing a problem with seleniumwire when I try to use a proxy to make the requests code 1 from seleniumwire import webdriver proxy = '123.123.213.123:4444' # any proxy firefox_capabilities =…
goku
  • 95
  • 11
-4
votes
0 answers

How to scrape Live stream from one website and show it to my website?

I want to scrape live stream from one website and show it to my website. Suppose, example.com is site to from where i want to scrape live stream. example.com have following security mechanism. Example.com use websocket connection for transfer binary…
User 111
  • 1
  • 2
1
2