I wrote a code and automated one website where I fill the input fields automatically and click submit...Now I want that code to make an application. So that I can fill the fields of whatever content I need through that application. Can I do that, I mean make an application?
Asked
Active
Viewed 220 times
2 Answers
1
You can use a tool called PyInstaller in order to convert a Python selenium script into a standalone executable file.
It's simple to get started:
pip install -U pyinstaller
pyinstaller YOUR_PROGRAM.py
"Your bundled application should now be available in the dist
folder."
I've used this tool a few times to convert tkinter
apps (that run Selenium scripts) into standalone executables.

Michael Mintz
- 9,007
- 6
- 31
- 48
-
And then will the app be standalone executable? I mean will it just run successfully on other computer or we need to install some selenium stuff to be able to run that app? – Zui Zui Aug 05 '23 at 15:17
-
Depending on the version of Selenium, it should automatically download the chromedriver version that it needs at runtime. – Michael Mintz Aug 05 '23 at 15:45