browsertrix-behaviors
browsertrix-behaviors copied to clipboard
New Behavior Request: autoclick buttons of forms with method="post" and action
What website should this before be applied to? All Websites using forms of method post and action
Is this a well known site that often needs to be archived? It is a general feature, which when impemented should allow to use navigations based on form post-requests much better
Describe in detail what the automated behavior should do. Please be as specific as possible. On every page, all buttons of such elements should be clicked: document.querySelectorAll('form[method="post"][action]') After each click, it should wait sufficiently long; then navigate back one step in history And click the next such element's button
Do you have the ability/bandwidth to contribute a pull request to implement this behavior? No, but I have written a very simple logic when using selenium directly. But it is not too complex anyway, I hope?
Additional context Just as an example of a webpage, where I would use it: https://www.defacto.expert/