1

I want to convert my Selenium code to an executable, I used auto-py-to-exe, it always worked for non Selenium codes, so I don't know what to do.

I was looking at the answer that was provided here : Create a Python executable with chromedriver & Selenium but it doesn't exactly address my problem because you need to change the .spec file and add your Chromedriver path, but I don't use chromdriver, I use webdriver manager.

so I am kinda lost here any help

Rimu
  • 31
  • 3

1 Answers1

1

I was stuck with same problem. I thought to assume that selenium script as normal python file. And it worked. Steps to make it executable file:

pip install pyinstaller
pyinstaller --onefile pythonScriptName.py
Dharman
  • 30,962
  • 25
  • 85
  • 135