ulixee / hero

The web browser built for scraping
MIT License
696 stars 33 forks source link

Click verify #59

Closed blakebyrnes closed 2 years ago

blakebyrnes commented 2 years ago

This PR introduces modes of "verification" for interaction commands.

NOTE: in the course of creating this mode, the relationship between Interactor and plugins was changed slightly. The "Interactor" does far less logic now. It is more of a simple lookup and coordinates move/click module. The one part of the new structure I couldn't quite resolve in this PR is that verification is "driven" by the plugin. It seems like that should be the responsibility of the Core library, not the plugins. At the moment, plugins decide how and what they will do for verification.