Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Update webdriver installation script
Update webdriver installation script:
seleniumbase install chromedriver
will now install chromedriver v2.46, except on Linux machines, which may be using older versions of Chromeseleniumbase install geckodriver
will now install v0.24.0 (for Firefox)seleniumbase install operadriver
will now install v.2.40
Other changes:
- Update starting browser dimensions
Update requirements
Update requirements:
- Update pytest to v4.3.0
Clone an existing method with an additional name
Clone an existing method with an additional name:
- Add
self.assert_element_visible(CSS_SELECTOR)
, which does the same thing asself.assert_element(CSS_SELECTOR)
.
Adding exact text methods and other improvements
Adding exact text methods and other improvements:
- Add
self.assert_exact_text()
- Add
self.wait_for_exact_text_visible()
- Update pytest version to 4.2.1
- Adding more reliability to some methods
- Fix a bug with text assertion
Fix Python 2 compatibility
Fix Python 2 compatibility:
- Use more-itertools version >=5.0.0,<6.0.0
Update parameterized version
Update parameterized version:
- Set
parameterized>=0.7.0
Update examples
Mostly updating example tests to use a non-camelCase format for assertions.
self.assert_true()
can now be used in place ofself.assertTrue()
self.assert_equal()
can now be used in place ofself.assertEqual()
Save the URL with exported SeleniumBase tours
Tour update:
- Save the URL with exported SeleniumBase JavaScript tours
Refactoring and new methods
Refactoring and new methods:
- Git-ignore the .vscode folder
- flake8 upgraded to v3.7.4
- Simplify BeautifulSoup usage
- Remove old deprecated methods
- Deprecate scroll_click() because click() already scrolls
- Add methods to avoid using camelCase in Python
Update pytest requirements and a few other things
Update pytest requirements and a few other things:
- Updated requirements:
pytest>=4.2.0
,pytest-xdist>=1.26.1
,flake8==3.7.3
. - Add option to raise a Python Exception immediately when specifying an invalid proxy string, rather than waiting to display a warning message at the end of the test run (without using a proxy server). Usage:
--proxy=[PROXY_STRING]
. - Disable Chrome local_discovery pop-up notifications, such as "New printer on your network".