Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Demo Mode updates / JS library version updates
Demo Mode updates / JS library version updates:
- Use unittest asserts in some places to avoid extra method calls
- Use the correct Demo Mode message for assert_exact_text()
- When checking for JS errors, give enough time for them to appear
- Update Backbone JavaScript library version
- Update Tether JavaScript library version
- Add Demo Mode actions for assert_partial_link_text()
- Add Demo Mode notifications for self.assert_no_404_errors()
- Add Demo Mode notifications for basic assert statements
Fix self.maximize_window()
Fix self.maximize_window()
- Rename the
maximize_window
option to resolve a conflict with a method of the same name.
Updates and fixes
Updates and fixes:
- Fix issue with auto-closing alert pop-ups
- Add hover_and_double_click() method
- Allow the ability to specify which chromedriver version is downloaded when using
seleniumbase install chromedriver
- Update the requirements
Update methods and mysql
Update methods and mysql
- Using pymysql for all MySQL commands
- Adding
self.assert_title(page_title)
- Update log folder cleanup when using a custom-named logs folder
- Update a lot of docs
Update the requirements
Update the requirements
Update browser options
Update browser options:
- Add a command-line option to maximize the browser window at startup
- Update the default Chrome switches to prevent unwanted infobars
Update example test and a console scripts command
- Update the example test and console scripts "seleniumbase mkdir"
Use shutil.move() instead of os.rename()
Use shutil.move() instead of os.rename()
- This is used for downloading the selenium server and placing it in the correct directory
Although os.rename() and shutil.move() will both rename files, the command that is closest to the Unix mv command is shutil.move(). The difference is that os.rename() doesn't work if the source and destination are on different disks, while shutil.move() doesn't care what disk the files are on.
Update the custom settings parser
Update the custom settings parser
Add a settings file parser for overriding default settings
- Add a settings file parser for overriding default SeleniumBase settings
pytest my_first_test.py --settings=custom_settings.py