wkeeling / selenium-wire

Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
MIT License
1.86k stars 241 forks source link

Using selenium-wire to load the url will automatically skip the selection certificate pop-up box, if using selenium to load the url, the certificate selection pop-up box will be displayed for the user to choose #672

Open yinyerong opened 1 year ago

yinyerong commented 1 year ago

1.Using selenium-wire to load the url will automatically skip the selection certificate pop-up box, and the failure to select the certificate will cause the subsequent process to be abnormal. 2.If you use selenium to load the url, a certificate selection pop-up box will appear, which is normal.

code is hear: option = webdriver.ChromeOptions() driver = webdriver.Chrome(GOOGLE_DRIVER_PATH, options=option) driver.request_interceptor = interceptor while True: driver.get("https://127.0.0.1/99") time.sleep(5) print(driver.requests) driver.quit()

juanOwl commented 8 months ago

Did you solve this? Having the same problem