Skip to content

Releases: seleniumbase/SeleniumBase

Allow URLS that start with "://" for open(URL)

03 Feb 05:48
8279ea2
Compare
Choose a tag to compare

This fixes #494
Allow URLS that start with :// for the open(URL) method

If you copy/paste a URL such as ://google.com into a web browser, the browser automatically converts the URL to https://google.com. But if you use the webdriver get(URL) method for URLs that start with ://, you'll get the following error:

selenium.common.exceptions.WebDriverException:
Message: unhandled inspector error:
{"code":-32000,"message":"Cannot navigate to invalid URL"}

Now the SeleniumBase open(URL) method (which wraps driver.get) automatically adds the https to URLs that start with :// to prevent the error.
As a bonus, you can now make your Python code lines 5 characters shorter if they use the open(URL) method for https URLs.

Automated Visual Testing (2nd edition)

31 Jan 09:29
915aaef
Compare
Choose a tag to compare

Automated Visual Testing (2nd edition)

  • Improve automated visual testing
  • Better handling of page scrolling to elements
  • Better exception handling around log folders
  • Update pytest and wheel

See https://github.com/seleniumbase/SeleniumBase/tree/master/examples/visual_testing for examples and the ReadMe!

Refresh "wheel" and "tqdm" dependencies

28 Jan 06:03
0766181
Compare
Choose a tag to compare

Update Python dependencies:

  • wheel>=0.34.1
  • tqdm>=4.42.0

Refresh Python dependencies

24 Jan 16:12
81cb46a
Compare
Choose a tag to compare

Refresh Python dependencies:

  • pip>=20.0.2
  • setuptools-scm>=3.4.3
  • packaging>=20.1
  • pdfminer.six==20200124;python_version>="3.5"

Treat the new Chromium Edge browser like Chrome

22 Jan 06:08
bc76dbd
Compare
Choose a tag to compare

Treat the new Chromium Edge browser like Chrome

  • Because Edge is Chromium-based now, it works like Chrome

Also Update pip, urllib3, and pdfminer.six dependencies:

  • pip>=20.0.1
  • urllib3==1.25.8
  • pdfminer.six==20200121;python_version>="3.5"

Update Python dependencies

21 Jan 08:48
47f1b67
Compare
Choose a tag to compare

Update Python dependencies:

  • pytest>=5.3.4
  • setuptools>=45.1.0;python_version>="3"
  • setuptools-scm>=3.4.2

Improve demo-mode on mobile device tests

19 Jan 07:29
b9a1940
Compare
Choose a tag to compare

Improve demo-mode on mobile device tests

Update the XPath-to-CSS converter

19 Jan 00:13
53c3002
Compare
Choose a tag to compare

Update the XPath-to-CSS_Selector converter

Improve ``select_option_by_*()`` methods

18 Jan 04:35
22a5a69
Compare
Choose a tag to compare

Improve select_option_by_*() methods

  • Improve select_option_by_text(SELECTOR, TEXT)
  • Improve select_option_by_index(SELECTOR, INDEX)
  • Improve select_option_by_value(SELECTOR, VALUE)
  • Also update pytest and setuptools-scm dependencies

Small updates / Improve reliability

17 Jan 05:48
42afc74
Compare
Choose a tag to compare

Small updates / Improve reliability:

  • Update get_page_title() and combine get_title() into it
  • Add skip_test() to avoid using the camelCase version
  • Improve reliability for the html_inspector