wkeeling / selenium-wire

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

There is an error / suggestion 、Ca.crt #475

Closed pengpengker closed 2 years ago

pengpengker commented 2 years ago

If you use pyinstaller or nuitka to package

The CA certificate does not exist or other files do not exist!

pengpengker commented 2 years ago

Prompt: directory not found

pengpengker commented 2 years ago

我查阅了以往的Issues,并知道了如何解决它。 你只需要将两个PEM[seleniumwire-ca.pem, seleniumwire-dhparam.pem]放入temp下的.seleniumwire文件夹下,它看起来像这样: C:\Users\Administrator\AppData\Local\Temp.seleniumwire\seleniumwire-ca.pem !!也许是github的问题,temp目录下应该是.seleniumwire 而不是Temp.seleniumwire 我无法打出正确的目录,被github转义 如果顺利,它将成功运行! 我查阅了以往的Issues,并知道了如何解决它。 你只需要将两个PEM[seleniumwire-ca.pem, seleniumwire-dhparam.pem]放入temp下的.seleniumwire文件夹下,它看起来像这样: @C:\Users\Administrator\AppData\Local\Temp\2.seleniumwire\seleniumwire-ca.pem 如果顺利,它将成功运行! I looked up previous issues and knew how to solve it.

You only need to put two PEMs [seleniumwire-ca.pem, seleniumwire-dhparam. PEM] into the under temp Under the selenium wire folder, it looks like this:

C:\Users\Administrator\AppData\Local\Temp\2. seleniumwire\seleniumwire-ca.pem !!Maybe it's the problem with GitHub. It should be in the temp\2\ directory .seleniumwire instead of temp.seleniumwire I can't type the correct directory and was escaped by GitHub

# 20220108143227

If it goes well, it will run successfully!