You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the browser extension, given a Browser/BrowserContext object, is there a way to execute a click action on the open page? (Without going the agent flow) This is for a task that needs to happen outside the agent loop execution.
For example:
browser = Browser()
page = browser.goto("https://www.google.com")
Then using the browser extension,
page.perform_click(selector)
The text was updated successfully, but these errors were encountered:
@anishhiranandani that would be interesting. You could include that information in your prompt or in advanced settings you can save the click functionality that you want. Depending on the model you're using, it might do it. But as far as the extension, that is not yet included. Can you describe further how you would want the functionality to look like?
Hi @galatian44to7 , thanks for your prompt reply.
Well, this might not have anything to do with the model. Consider it a preprocessing step that is executed just before the agent loop is started.
The sequence of steps would be:
Create a Browser/BrowserContext object with a config (path to google chrome, etc.)
Go to a URL on a page using this browser object
Using the browser (or a member object of this class), execute a click action on an element on the page opened in step 2
After installing the browser extension, given a Browser/BrowserContext object, is there a way to execute a click action on the open page? (Without going the agent flow) This is for a task that needs to happen outside the agent loop execution.
For example:
browser = Browser()
page = browser.goto("https://www.google.com")
Then using the browser extension,
page.perform_click(selector)
The text was updated successfully, but these errors were encountered: