When CookieManager.delete() is called with no arguments then all cookies are deleted. This behaviour has been deprecated. CookieManager.delete_all() should be used instead.
The message for the error raised when a driver's class is not found has been improved.
Fixed
FlaskDriver.attach_file() has been fixed.
urllib3 is now always installed, regardless of driver used.
0.18.1
What's New in Splinter 0.18.1?
Changed:
Set Firefox preferences through options instead of FirefoxProfile
Fixed:
Use dedicated logger in browser.py to avoid clobbing other Python logging
Removed required selenium import for error handling, making it possible to use splinter without installing selenium (as long as a selenium driver isn't used)
0.18.0
What's New in Splinter 0.18.0?
Added:
WebDriverElement() now implements the shadow_root property. This returns a ShadowRootElement() object to interact with the shadow root of an element.
Failed driver imports are logged at the debug level instead of silently ignored
browser.html_snapshot() now takes the optional unique_file argument. Setting this to False will disable the addition of random characters to the filename.
Changed:
repr(ElementList()) now returns the repr of the internal container.
Driver.find_link_by_ methods have been removed. Use Driver.links.find_by_.
Screenshot taken by WebDriverElement.screenshot() now implements Selenium's element screenshot instead of cropping a full page screenshot.
Flask/Django's back/forward methods more accurately store browsing history
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps splinter from 0.14.0 to 0.19.0.
Release notes
Sourced from splinter's releases.
... (truncated)
Commits
b0d512e
Bump version to 0.19.0 (#1124)3d2502e
Fix missing urllib3 dependency (#1123)4ada941
Bump pytest from 7.2.0 to 7.2.1 (#1122)0308a3c
Bump coverage from 7.0.4 to 7.0.5 (#1121)eff5b9f
Bump coverage from 7.0.3 to 7.0.4 (#1120)ef2858e
Bump coverage from 7.0.2 to 7.0.3 (#1118)72b33c8
Bump coverage from 7.0.1 to 7.0.2 (#1117)12e2f57
Bump coverage from 7.0.0 to 7.0.1 (#1116)b67ea09
Bump flake8-builtins from 2.0.1 to 2.1.0 (#1115)cc5949d
Bump pep8-naming from 0.13.2 to 0.13.3 (#1113)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)