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

1 Answer 1

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
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.