Skip to content

Releases: seleniumbase/SeleniumBase

Update pytest and pytest-xdist requirements

19 Dec 06:34
a73ba54

Choose a tag to compare

Update pytest and pytest-xdist requirements

  • pytest to 4.0.2 or greater
  • pytest-xdist to 1.25.0 or greater

Add submit() method to simplify driver.find_element_by_*().submit()

16 Dec 01:26
ea26ad2

Choose a tag to compare

Add submit(SELECTOR) method to simplify driver.find_element_by_*(SELECTOR).submit()

Update console scripts, styling, and simplify installation

15 Dec 01:41
78b4579

Choose a tag to compare

Update console scripts, styling, and simplify installation

Update the SeleniumBase console scripts interface

14 Dec 09:53
6d15d0a

Choose a tag to compare

Update the SeleniumBase console scripts interface

Update example tests

11 Dec 07:11
fc2c876

Choose a tag to compare

Update example tests
Add test suite for demoing pytest markers

Update seleniumbase console scripts (add "download" command)

04 Dec 22:41
08ba505

Choose a tag to compare

Update seleniumbase console scripts

Adding:

seleniumbase download server

This command downloads the latest Selenium Server Standalone JAR file from https://www.seleniumhq.org/download/

Add click_visible_elements(selector) method

02 Dec 01:08
2bf4a78

Choose a tag to compare

Add click_visible_elements(selector) method

Finds all matching page elements and clicks visible ones in order.
If a click reloads or opens a new page, the clicking will stop.
Works best for actions such as clicking all checkboxes on a page.

Example:

self.click_visible_elements('input[type="checkbox"]')

Add method/option to check for JavaScript errors on page loads

29 Nov 07:18
0270cc7

Choose a tag to compare

(Works ONLY for Chrome (non-headless) and Chrome-based browsers such as Opera right now.)

Add method/option to check for JavaScript errors on page loads:

  • New method:
self.assert_no_js_errors()
  • New command line option (to automatically check for JavaScript errors after every page load):
--check_js

Ex:

pytest my_first_test.py --browser=chrome --check_js

Update the Selenium IDE script converter tool

27 Nov 04:55
17d06c7

Choose a tag to compare

Update the Selenium IDE script converter tool

Set default selector to ``html`` for text-search methods.

21 Nov 21:56
02d1f3c

Choose a tag to compare

Set default selector to html for text-search methods.
(It's also optional now.)

Now you can do something like this:

self.assert_text("SOME TEXT")

instead of this:

self.assert_text("SOME TEXT", "html")

(Default selector type for selectors: by=By.CSS_SELECTOR)

Methods effected:
assert_text
is_text_visible
wait_for_text
find_text
delayed_assert_text
wait_for_text_visible
assert_text_visible

Due to keeping backwards compatibility, a few older methods remain that do the same thing as newer methods. (Method names were shortened from their previous versions.)