Skip to content

Releases: seleniumbase/SeleniumBase

Improve Messenger compatibility

09 Oct 05:08
3b7607f
Compare
Choose a tag to compare

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

06 Oct 17:22
fa63c55
Compare
Choose a tag to compare

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

05 Oct 01:50
d1c4b2b
Compare
Choose a tag to compare

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

02 Oct 17:35
5fe17f5
Compare
Choose a tag to compare

Allow multiple file downloads without prompts


(Actually fixed in https://github.com/seleniumbase/SeleniumBase/releases/tag/v1.49.25)

Update console scripts and Python dependencies

02 Oct 07:53
9911e6f
Compare
Choose a tag to compare

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

30 Sep 23:44
5422bc0
Compare
Choose a tag to compare

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

30 Sep 23:11
ba23f6d
Compare
Choose a tag to compare

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

30 Sep 00:28
d4167b2
Compare
Choose a tag to compare

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

23 Sep 17:12
4e3fd7e
Compare
Choose a tag to compare

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

22 Sep 15:20
57faf6f
Compare
Choose a tag to compare

Convert int/float inputs to strings before typing text

  • Convert integer inputs to strings before typing text
  • Also update the cffi requirement to cffi==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()