-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autoclick Support #729
Autoclick Support #729
Conversation
Some examples of sites where the autoclick behavior is helpful:
|
… need to nav from previous page
Thanks for the sites to test out! I can confirm that it's working in the ways you describe for each, but I'm also noticing a whole lot of these messages in the logs for all of the autoclick-enabled crawls:
I haven't caught exactly why yet, but worth looking into. For selectors I like the idea of a |
don't duplicate WorkerOpts, expect to be updated!
Good catch! Turns out blocking the page unload was not actually working, and actually workeropts were being unnecessarily duplicated, see: 8a4e4db - should be fixed now! |
Thanks for that change! :) Not sure whether to actually approve this PR since we won't be merging this as-is with everything hardcoded and still need to add the selector flag, but based on testing I think this behavior is working as intended and good to add! |
- intercept targetcreated to avoid new windows opened from crawler page - also intercept window.pageOpen to add as new URLs to crawl instead - profiles: better interception of new window openings, also close additional tabs - bump version to 1.5.0-beta.0
bump to 1.5.0-beta.1
… 2.2.5, update puppeteer-core to 24.1.0 support autoclick behavior as option for --behaviors ignore unknown behaviors passed to --behaviors intsead of exiting to improve forward compatibility
…default to 'a' add --linkSelector as alias for --selectLinks for consistency update cli docs
Ready for final review, not enabling autoclick by default for now. |
Adds support for autoclick behavior:
autoclick
behavior option to--behaviors
, but not enabling by default__bx_addSet
which allows autoclick behavior to persist state about links that have already been clicked to avoid duplicates, only used if link has an hrefa
.Fixes #728, also #216, #665, #31