Skip to content

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

Update task description in file_upload.py: Revert task string to previous URL for file upload instructions, ensuring clarity in the upload process.

Magnus Müllera63752b5047f
diff --git a/examples/custom-functions/file_upload.py b/examples/custom-functions/file_upload.py
index 858cdd7f5..6f0d628ff 100644
--- a/examples/custom-functions/file_upload.py
+++ b/examples/custom-functions/file_upload.py
@@ -78,8 +78,8 @@ def create_file(file_type: str = 'txt'):
async def main():
- task = 'Go to https://www.freepdfconvert.com/, upload the file tmp.pdf into the field choose a file - dont click the fileupload button'
task = 'Go to https://kzmpmkh2zfk1ojnpxfn1.lite.vusercontent.net/ and - read the file content and upload them to fields'
+ task = 'Go to https://www.freepdfconvert.com/, upload the file tmp.pdf into the field choose a file - dont click the fileupload button'
available_file_paths = [create_file('txt'), create_file('pdf'), create_file('csv')]