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 240 forks source link

Not secure (unvalid certificate) #696

Closed Mouad-scriptz closed 11 months ago

Mouad-scriptz commented 11 months ago

Code to reproduce:

import seleniumwire.undetected_chromedriver.v2 as uc

if __name__ == '__main__':
    driver = uc.Chrome()
    driver.get("https://abrahamjuliot.github.io/creepjs/")
    input()
    r = driver.requests

Screenshot: image

Issue: So whenever I use selenium-wire's undetected chromedriver module it always gets blocked because of a invalid certificate, I already spent like 4 hours looking for a solution but there is none, any help is appreciated.

A4Abhiraj commented 11 months ago

Check my last comment on this issue. This has a different certificate so you just need to install it manually on the browser. https://github.com/wkeeling/selenium-wire/issues/120#issuecomment-1631275832