by Drezzor · 11y ago · 0 comments
So the bot loads your webpage into a headless browser and sends it a series of events to simulate a user interacting with it, and waits for navigation requests.
There is probably a whitelist of simulation behaviors:
* mouseover, then click each <a> node
* mouseover every pixel
* mouseover, then change every <select> node
* mouseover, then click every <button>
etc...
Caveat: though I worked at Google when this work was being done, I was on a different team and don't have any inside knowledge - just speculating on an approach that would make sense.