Auto-Browse provides an intuitive way to click elements using natural language commands. This guide covers various clicking scenarios and best practices.
Click elements using natural language descriptions:
Copy
// Click a button by its textawait auto("click the Submit button");// Click a link by its textawait auto("click the Learn More link");// Click an element by its role and nameawait auto('click the button labeled "Next"');
// Click buttons by textawait auto("click the Save button");await auto("click Submit");// Click linksawait auto("click the About link");await auto("click Contact Us");// Click with context for precisionawait auto("click the Save button in the form");await auto("click the Edit link in the user profile section");