Update Recorder Mode script-generation, and more
This is to prevent a duplicate browser action that can occur when a click redirects to a new URL. The Recorder will record a click()
and an open()
action, but if the click already takes the user to the URL being opened, then the browser does not need to call the open()
action separately, and instead should mask the action with open_if_not_url()
. This issue was discovered when clicking a link with href="https://en.wikipedia.org/"
, which redirected to https://en.wikipedia.org/wiki/Main_Page
.
Other changes include:
- Better error-handling for the
open()
method. - Update timing logic for the time-limit feature.
- Refresh Python dependencies:
--more-itertools==8.11.0;python_version>="3.5"