You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There may be more issues than just this one, but in running tests on Python 3.9 I've encountered this error:
Traceback (most recent call last):
File "/builds/cemetech/7/archives/tests/test_create_file.py", line 293, in testAutofillsFilename
file_input.send_keys(tempfile1.name)
File "/builds/cemetech/7/.venv/lib/python3.9/site-packages/selenium/webdriver/remote/webelement.py", line 475, in send_keys
value = self._upload(local_file)
File "/builds/cemetech/7/.venv/lib/python3.9/site-packages/selenium/webdriver/remote/webelement.py", line 695, in _upload
content = base64.encodestring(fp.getvalue())
AttributeError: module 'base64' has no attribute 'encodestring'
This appears to have been fixed in #7446, but is not present in any stable releases on pypi.
Either the 3.x series on PyPi should be marked as incompatible with Python 3.9, or #7446 should be backported and a new Python release cut.
Environment
OS: Linux
Browser: Firefox
Language Bindings version: Python 3.141.0
The text was updated successfully, but these errors were encountered:
Thanks for the issue. We won't be releasing another version 3 as we're heading to finishing off Selenium 4. It is a drop in replacement to use Selenium 4.0.0.a5 so should work the same. There should not be any breaking changes.
It needs Selenium 4, the 3.x series is not compatible with Python 3.9,
see SeleniumHQ/selenium#8762
This also simplifies test matrix by including wanted test combinations
instead of excluding all the ones we want to skip in more complex
setups.
🐛 Bug Report
There may be more issues than just this one, but in running tests on Python 3.9 I've encountered this error:
This appears to have been fixed in #7446, but is not present in any stable releases on pypi.
Either the 3.x series on PyPi should be marked as incompatible with Python 3.9, or #7446 should be backported and a new Python release cut.
Environment
OS: Linux
Browser: Firefox
Language Bindings version: Python 3.141.0
The text was updated successfully, but these errors were encountered: