selenium-wire icon indicating copy to clipboard operation
selenium-wire copied to clipboard

requests empty

Open Corgizz opened this issue 3 years ago • 4 comments

Can get theme after login But requests empty!!!

image

Corgizz avatar Nov 25 '22 07:11 Corgizz

Looks like Selenium Wire has not been able to configure its background proxy server which it uses to capture requests. This can happen if Windows prevents Selenium Wire from setting a proxy (e.g. because of corporate security restrictions). Does it make any difference if you omit the --user-data-dir option?

wkeeling avatar Nov 25 '22 08:11 wkeeling

no --user-data-dir can not get website title after login yes, this website Unable to get data through through setting Cookie,because 'auth-sign' and 'auth-ts' are constantly changing before get or post, use Fixed value of 'auth-sign' and 'auth-ts',Show connection timeout image so Is there any other way to solve it?

Corgizz avatar Nov 25 '22 09:11 Corgizz

I was having the same issue. I had a proxy set via Options and had configured selenium-wire proxy at the same time. I needed to remove the Options proxy and only use the selenium-wire proxy.

driver = webdriver.Chrome(
    seleniumwire_options={"proxy":{"https": HTTPS_PROXY}}
 )

Bialogs avatar May 16 '23 20:05 Bialogs

I tried editing for the proxy but my org is using a script to manage local proxy settings, any advice?

awilson10pyx avatar Aug 11 '23 12:08 awilson10pyx