Automate Web Tasks
StartWebSession and WebExecute make it easy to interact with pages, click elements, get webpage information and more.
Start a new web session and open it to a page.
Get all of the anchor links on the page.
Follow a random link on the page. It may take a few tries to find a clickable anchor.
Make a function that keeps clicking until it switches to a new linked page.
Follow links to a few new pages.