splinter - python test framework for web applications
Changed:
Fixed:
Added:
shadow_root
property. This returns a ShadowRootElement() object to interact with the shadow root of an element.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:
Fixed:
selenium3
extra argumentfind_by_text
now handle strings with quotation marks (https://github.com/cobrateam/splinter/issues/457)find_link_by
methods are now chainable (https://github.com/cobrateam/splinter/pull/699)ElementList.__getattr__()
no longer hide ElementNotFound (https://github.com/cobrateam/splinter/pull/707)Browser.get_alert()
returns None if no alert exists (https://github.com/cobrateam/splinter/issues/387)find_by
methods in WebDriverElement now uses retry mechanism (https://github.com/cobrateam/splinter/pull/727)is_not_present/visible
returns True immediately after not finding anything (https://github.com/cobrateam/splinter/pull/732)browser.html_snapshot
methodoptions
instead firefox_options
to avoid warnings (https://github.com/cobrateam/splinter/pull/634)*args
parameter in execute_script
(https://github.com/cobrateam/splinter/issues/436)__ne__
in StatusCode
(https://github.com/cobrateam/splinter/issues/460)switch_to_alert
instead switch_to.alert
to avoid webdriver warnings.CookieManager. __eq__
returns a bool value (https://github.com/cobrateam/splinter/issues/308<Paste>)