Releases: seleniumbase/SeleniumBase
Handle deprecation warnings
Handle deprecation warnings
Update pytest version
Use pytest==3.8.0
Update html logging and screenshots
- Update html logging
- Take fullscreen screenshots when possible
Python 3.7.0 compatibility
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)
- 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
Minor reliability update:
- Autocomplete text boxes may need more time to finish updating
Fix pypi readme by setting content type to markdown
Fix pypi readme by setting content type to markdown
Adding ability for parameterized tests
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
- Add the ability to create Bootstrap Tours
- Update versions of pytest and pytest-xdist
Upgrade selenium and more
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