Skip to content

Releases: seleniumbase/SeleniumBase

Handle deprecation warnings

19 Sep 20:58
a2e14cc
Compare
Choose a tag to compare

Handle deprecation warnings

Update pytest version

11 Sep 23:09
e857dbe
Compare
Choose a tag to compare

Use pytest==3.8.0

Update html logging and screenshots

31 Aug 04:31
a3423c7
Compare
Choose a tag to compare
  • Update html logging
  • Take fullscreen screenshots when possible

Python 3.7.0 compatibility

30 Aug 07:04
5bb03c1
Compare
Choose a tag to compare

Fixing bugs that were seen when switching to Python 3.7.0

After some investigation, I learned that the functionality of Python's re.escape() has changed between Python 3.6.5 and Python 3.7.0:

Python 3.6.5:

>>> import re
>>> re.escape('"')
'\\"'

Python 3.7.0:

>>> import re
>>> re.escape('"')
'"'

Also fixing an unrelated bug with Geckodriver automatic downloads. To do this, I switched to using urllib3.

Fix delayed asserts (the error message in the output)

28 Aug 19:09
492f703
Compare
Choose a tag to compare
  • Fix delayed asserts (the error message in the output when an assert fails)

Usage example:

...
self.delayed_assert_element(CSS_SELECTOR)
self.delayed_assert_text(TEXT, CSS_SELECTOR)
self.process_delayed_asserts()
...

Minor reliability update

28 Aug 06:17
99abc63
Compare
Choose a tag to compare

Minor reliability update:

  • Autocomplete text boxes may need more time to finish updating

Fix pypi readme by setting content type to markdown

28 Aug 02:45
8d842be
Compare
Choose a tag to compare

Adding ability for parameterized tests

28 Aug 02:30
23d3012
Compare
Choose a tag to compare

Adding ability for parameterized tests

Example:

from seleniumbase import BaseCase
from parameterized import parameterized


class GoogleTestClass(BaseCase):

    @parameterized.expand([
        ["pypi", "https://pypi.org"],
        ["wikipedia", "https://www.wikipedia.org"],
        ["seleniumbase", "https://github.com/seleniumbase/SeleniumBase"],
    ])
    def test_parameterized_google_search(self, search_term, expected_url):
        self.open('https://google.com')
        self.update_text('input[title="Search"]', search_term + '\n')
        self.assert_text(expected_url, '#search')

Add the ability to create Bootstrap Tours

27 Aug 22:54
0bc0cfc
Compare
Choose a tag to compare
  • Add the ability to create Bootstrap Tours
  • Update versions of pytest and pytest-xdist

Upgrade selenium and more

21 Aug 22:33
dfe32b6
Compare
Choose a tag to compare

Upgrade to the latest version of selenium: 3.14.0
Upgrade to the latest version of pytest: 3.7.2
Upgrade to the latest version of pytest-xdist: 1.22.5
Improve reliability during website walkthroughs
Update ad-block list
Add new methods for website-traffic-generation