selenium-wire
selenium-wire copied to clipboard
Error pyinstaller .exe with undetected-chromedriver
If you try to generate an executable using seleniumwire together with undetected bot, it does not work. I have tested it by adding the seleniumwire hook to pyinstaller. I have also tried downloading version 3.0.3 and it doesn't work either, it doesn't start the browser. The code works correctly.
You you share the confit you’re using. We’ve had a few issues raised against pyinstaller so be good to get this resolved.
i faced same issue as well, i tested my script and everything was working well but not when i compiled it with pyinstaller, when the exe attempts to launch the browser, it opens something else ( like another application ), it sounds strange but not until you try it and see it for yourself
i'm using it like this
from seleniumwire.undetected_chromedriver import v2 as webdriver
python version: 3.9