Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

examples/file-upload-task-change

Magnus Müller9f398dab4f18
diff --git a/examples/custom-functions/file_upload.py b/examples/custom-functions/file_upload.py
index a4a076c6b..f2312469d 100644
--- a/examples/custom-functions/file_upload.py
+++ b/examples/custom-functions/file_upload.py
@@ -87,9 +87,7 @@ async def main():
# Create the agent with file upload capability
agent = Agent(
task="""
- Go to a website with a file upload form and upload a test document.
- For example, go to https://www.w3schools.com/howto/howto_html_file_upload_button.asp
- and try to upload one of the available test files.
+ Go to https://www.w3schools.com/howto/howto_html_file_upload_button.asp and try to upload one of the available test files.
""",
llm=llm,
browser_session=browser_session,