Packaging (ex: as a standalone executable file) #1895
-
Hello, I will please like to know how I could package my SeleniumBase program with something like Pyinstaller for example in order to make it an executable file. This is to avoid always having to open my terminal and activate my Venvs. And mainly for portability.. running my script on any PC, just by double clicking the executable file. Thanks in advance for any guide or help on this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Standard PyInstaller instructions will work. Tested with a TKinter app that ran a SeleniumBase script. |
Beta Was this translation helpful? Give feedback.
Standard PyInstaller instructions will work. Tested with a TKinter app that ran a SeleniumBase script.
(See #1075 (comment) for the thread.)
For convenience, you may want to use one of the SeleniumBase Syntax Formats that can be run with pure
python
, instead ofpytest
. That may make things easier.