Seleniumwire dont intercept HTTPS if user-data-dir is defined

168 Views Asked by At

I try to intercept requests by seleniumwire.

If I dont use option --user-data-dir everything is fine. All requests are showed by driver.requests.

But I need parse some sites with authentication. So I provide in --user-data-dir option profile with remembered accounts. But in this case HTTPS requests not intercepted.

Command driver.requests showes only requests to google-ads and some other trash.

So how to intercept HTTPS requests while providing profile?

1

There are 1 best solutions below

0
On BEST ANSWER

I should to disable all proxy extensions.

options.add_arguments("--disable-extensions")