Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
tweak salesforce test cross-origin iframe task
Nick Sweetingdd7fb8a11daf
diff --git a/examples/features/cross_origin_iframes.py b/examples/features/cross_origin_iframes.pyindex 292fb9989..013d7b6d2 100644--- a/examples/features/cross_origin_iframes.py+++ b/examples/features/cross_origin_iframes.py@@ -33,7 +33,15 @@ controller = Controller()async def main():agent = Agent(# task='Click "Go cross-site (simple page)" button on https://csreis.github.io/tests/cross-site-iframe.html then tell me the text within',- task='Go to https://pirate.github.io/financial-dashboard/iframe.html and click Tools > Edit',+ # task='Go to https://pirate.github.io/financial-dashboard/iframe.html and click Tools > Edit',+ task="""+ 1. Go to https://trailhead.salesforce.com/today (if any login is needed, username: [email protected] password: SfTestPassword992)+ 2. Scroll down to Your Personalized Recommendations > Admin Beginner and click the Start button+ 3. Click the big blue "Start" button on the left+ 4. Scroll all the way to the bottom of the page and under "Choose hands-on org" make sure "My Trailhead Playground 1" is selected, then click "Launch"+ 5. Once the org loads in a new tab, click "Dashboards" in the menubar at the top+ 6. Click the "teset234234" dashboard and wait till it loads+ """,llm=ChatOpenAI(model='gpt-4o', temperature=0.0),controller=controller,browser=browser,