FluidicML / browser-plugin

Workflow automation plugin.
https://www.fluidicml.com
MIT License
0 stars 0 forks source link

Constrain cursors to valid elements. #33

Closed jrpotter closed 2 months ago

jrpotter commented 2 months ago

Is your feature request related to a problem? Please describe. Current extracting/injecting allows us to target any element on the webpage. It'd be nicer if we make more obvious only elements that are valid to insert/select into. For example, filter out divs wrapping an input on injection since we wouldn't be able to insert text into the div to begin with.

Doing so with recording may also have the nice benefit of increasing robustness of recordings - very rarely does a user want to click on a div containing just a button, as opposed to the button itself.