-
when I export exe from seleniumbase python file by auto-py-to-exe i have problem : Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You error looks unrelated to SeleniumBase. It appears to be coming from library named torch_dynamo, which I know nothing about. As for exporting an executable file from a SeleniumBase script: Standard PyInstaller instructions will work. Tested with a TKinter app that ran a SeleniumBase script. |
Beta Was this translation helpful? Give feedback.
-
I compiled https://github.com/seleniumbase/SeleniumBase/blob/master/examples/basic_test.py with pyinstaller |
Beta Was this translation helpful? Give feedback.
-
thank you 🙏🙏 I refactorated my code but I still get this when the browser is open only after compile |
Beta Was this translation helpful? Give feedback.
You error looks unrelated to SeleniumBase. It appears to be coming from library named torch_dynamo, which I know nothing about.
As for exporting an executable file from a SeleniumBase script:
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.