Skip to content

Releases: seleniumbase/SeleniumBase

Update the custom settings parser

09 Aug 14:04
3d37c16
Compare
Choose a tag to compare

Update the custom settings parser

Add a settings file parser for overriding default settings

09 Aug 08:57
379dc50
Compare
Choose a tag to compare
  • Add a settings file parser for overriding default SeleniumBase settings
pytest my_first_test.py --settings=custom_settings.py

Update examples, pytest version, and console scripts

06 Aug 05:49
255359d
Compare
Choose a tag to compare
  • Update examples
  • Use pytest >= 4.6.5 on Python 2 (Python 3 uses pytest >= 5.0.1)
  • Update console scripts test generator

Add the "sb" pytest fixture

02 Aug 06:34
c381b52
Compare
Choose a tag to compare
  • Add the "sb" pytest fixture

Usage examples:

# "sb" pytest fixture test in a method with no class
def test_sb_fixture_with_no_class(sb):
    sb.open("https://google.com/ncr")
    sb.update_text('input[title="Search"]', 'SeleniumBase\n')
    sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')
    sb.click('a[title="seleniumbase"]')


# "sb" pytest fixture test in a method inside a class
class Test_SB_Fixture():
    def test_sb_fixture_inside_class(self, sb):
        sb.open("https://google.com/ncr")
        sb.update_text('input[title="Search"]', 'SeleniumBase\n')
        sb.click('a[href*="github.com/seleniumbase/SeleniumBase"]')
        sb.click('a[title="examples"]')

Adding w3c Chromedriver support

01 Aug 05:55
d6fc08c
Compare
Choose a tag to compare
  • Adding w3c ChromeDriver support.
  • Better error handling for scrolling actions.
  • seleniumbase install chromedriver now installs ChromeDriver version 2.44 by default.

Use a customized virtual display in headless mode

30 Jul 07:17
6e19297
Compare
Choose a tag to compare

Use a customized virtual display in headless mode

  • This removes the pyvirtualdisplay requirement
  • This also makes tests run much faster in headless mode

Update pyotp lib and seleniumbase mkdir command

28 Jul 04:30
00abed8
Compare
Choose a tag to compare

Update pyotp lib and seleniumbase mkdir command

  • Update pyotp to >=2.3.0
  • Have the seleniumbase mkdir script create an extra example test.

New option: Set initial URL with --start_page=URL or --url=URL

26 Jul 07:07
ce16150
Compare
Choose a tag to compare

Add ability to set initial URL with --start_page=URL or --url=URL cmd option

Make --headless mode the default setting on Linux

25 Jul 18:05
734444e
Compare
Choose a tag to compare

Make --headless mode the default setting on Linux

Improve the export feature for website tours

25 Jul 04:40
c5f58c0
Compare
Choose a tag to compare

Improve the export feature for website tours