Packaging (ex: as a standalone executable file) #1895
Answered
by
mdmintz
ndonkoHenri
asked this question in
Q&A
|
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. |
Answered by
mdmintz
Jun 2, 2023
Replies: 1 comment 2 replies
|
Standard PyInstaller instructions will work. Tested with a TKinter app that ran a SeleniumBase script. |
2 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.