Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Improve Messenger compatibility
Improve Messenger compatibility
- Improve Messenger compatibility (Used in
--demo
mode) - Only activate jQuery for Messenger if not already active
- Also update the
--disable-csp
ability for Chrome
Handle an edge case with multiple file downloads
Handle an edge case with multiple file downloads
- Handle an edge case with multiple file downloads
-- (no more prompts when downloading multiple files) - Also improve
brython
compatibility for Python 3.9 users
Update Python requirements
Update Python requirements
pytest==6.1.1;python_version>="3.5"
beautifulsoup4==4.9.3
rich==8.0.0;python_version>="3.6" and python_version<"4.0"
zipp==3.3.0;python_version>="3.6"
flake8==3.8.4;python_version>="3.5"
virtualenv>=20.0.33
Allow multiple file downloads without prompts
Allow multiple file downloads without prompts
- Related StackOverflow post: https://stackoverflow.com/q/15817328
(Actually fixed in https://github.com/seleniumbase/SeleniumBase/releases/tag/v1.49.25)
Update console scripts and Python dependencies
Update console scripts and Python dependencies
- Simplify SeleniumBase console scripts and docs
- Also update Python dependencies:
importlib-metadata==2.0.0
virtualenv>=20.0.32
Backport a fix for older versions of Python
Backport a fix for older versions of Python
pathlib2>=2.3.5;python_version<"3.5"
This will fix the following issue on systems running an older version of Python:
error: pathlib2 2.3.2 is installed but pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32" is required by set(['virtualenv'])
Update Python dependencies
Update Python dependencies
importlib-metadata==1.7.0
virtualenv>=20.0.31
This prevents an incompatibility that was occurring when seleniumbase had both virtualenv
and importlib-metadata==2.0.0
installed previously.
Update Python dependencies
Update Python dependencies
pytest==6.1.0;python_version>="3.5"
pytest-rerunfailures==9.1.1;python_version>="3.5"
beautifulsoup4==4.9.2
rich==7.1.0;python_version>="3.6" and python_version<"4.0"
Also:
- Update mkdocs dependencies
- Update recovery time for Stale Elements and ENI Exceptions
Update Python requirements
Update Python requirements
cryptography==3.1.1;python_version>="3.6"
zipp==3.2.0;python_version>="3.6"
importlib-metadata==2.0.0
Convert int/float inputs to strings before typing text
Convert int/float inputs to strings before typing text
- Convert integer inputs to strings before typing text
- Also update the
cffi
requirement tocffi==1.14.3
The fix for this is simple:
if type(text) is int or type(text) is float:
text = str(text)
This conversion is necessary to prevent errors from occurring in:
if not text.endswith('\n'):
element.send_keys(text)
else:
element.send_keys(text[:-1])
element.send_keys(Keys.RETURN)
Most text-typing methods already fixed this. Now they all fix it.
- Fixed methods:
self.add_text(selector, text)
self.send_keys(selector, text) # Same as self.add_text()