Commit Graph

4189 Commits

Author SHA1 Message Date
Sophia Willows f8f2129285 Add debug log 2025-10-21 11:52:47 +13:00
Sophia Willows 1206391e59 Fix framework events not firing correctly 2025-10-21 11:52:06 +13:00
Reagan Hsu 8e2845a6db add new models 2025-10-19 23:29:20 -07:00
Magnus Müller c00ad67830 Use lower check 2025-10-19 22:04:32 -07:00
Magnus Müller f1ccdfbf6d Remove general endings 2025-10-19 22:04:32 -07:00
Magnus Müller 66dad509d4 refactor: Improve URL filtering logic by considering surrounding context
Enhanced the URL detection process by storing the original position of URLs and checking the surrounding context for excluded words before modifying the URL. This change ensures more accurate filtering and prevents navigation to undesired links while maintaining the addition of 'https://' for URLs missing a scheme.
2025-10-19 22:04:32 -07:00
Magnus Müller e9b4940158 Remove position 2025-10-19 22:04:32 -07:00
Magnus Müller b7e5c4323f refactor: Rename URL extraction method and enhance filtering
Renamed the method for extracting URLs from tasks to `_extract_start_url` for clarity. Added logic to exclude URLs based on specific words in the surrounding context, improving the accuracy of URL detection and preventing navigation to undesired links.
2025-10-19 22:04:32 -07:00
Magnus Müller 3fd7b1ab47 refactor: Format excluded file extensions for better readability
Updated the excluded_extensions list in the Agent class to improve code readability by formatting each file extension on a new line. This change enhances maintainability without altering functionality.
2025-10-19 22:04:32 -07:00
Cursor Agent 75af987149 feat: Exclude file extensions from URL detection
Co-authored-by: mamagnus00 <mamagnus00@gmail.com>
2025-10-19 22:04:32 -07:00
Gregor Žunič 3f5661d169 additional headers option 2025-10-16 21:14:15 -07:00
Saurav Panda ee355bf43c Merge branch 'main' into focus-causes-llm-to-not-input-text-properly 2025-10-16 16:59:08 -07:00
Saurav Panda eb6eee149a fix: Wrapped select() in try-catch to handle input types that don't support text selection 2025-10-16 16:42:18 -07:00
Saurav Panda 48e0cbb784 fixed clear issue when focus fails. 2025-10-16 16:10:48 -07:00
Gregor Žunič bc3fd6a2dc loaders for AgentHistoryModel from dict 2025-10-16 14:36:57 -07:00
Gregor Žunič 49af0b92f3 fixed pydantic returns 2025-10-16 12:02:15 -07:00
Gregor Žunič 871095e25d switched to cloudpickle approach 2025-10-15 19:40:15 -07:00
Reagan Hsu eaad2c7e63 Merge branch 'main' into fix/keyboard-events-complete 2025-10-15 14:18:34 -07:00
Reagan Hsu 659c0ddf42 make new utils file and add get_key_info 2025-10-15 13:48:08 -07:00
Magnus Müller 4c7cf16042 add get_state_as_text 2025-10-15 11:35:24 -07:00
Gregor Žunič 8b6d3bdf17 v1 remote 2025-10-15 10:46:29 -07:00
Magnus Müller 15dc3c81a0 Merge branch 'fix-js' of https://github.com/browser-use/browser-use into fix-js 2025-10-14 16:40:46 -07:00
Magnus Müller c13c44be5f Fix js include matches 2025-10-14 16:40:43 -07:00
Magnus Müller 1b55ee2da4 Merge branch 'main' into fix-js 2025-10-14 16:29:01 -07:00
Magnus Müller 8736825e39 No comments 2025-10-14 16:05:56 -07:00
Magnus Müller 4440c187af evaluate js 2025-10-14 16:03:13 -07:00
Magnus Müller b5afe2fece Linter 2025-10-14 15:41:13 -07:00
Magnus Müller c9b99797fb Better parsing 2025-10-14 15:35:41 -07:00
Magnus Müller 8c82e39402 Merge branch 'main' into feature/mcp-server-support-amazon-bedrock-model 2025-10-14 15:29:25 -07:00
Magnus Müller 2f43b5cfbe Parse js 2025-10-14 15:25:48 -07:00
Magnus Müller 98995449c2 reduce max_output_tokens gemini 2025-10-14 14:31:57 -07:00
Magnus Müller a7262ef082 Fix structured output 2025-10-14 13:38:49 -07:00
zhenhuae 9bfdb4ac85 feat: support amazon bedrock model fix check style 2025-10-14 21:03:09 +08:00
zhenhuae a95d4db9c5 feat: support amazon bedrock model fix check style 2025-10-14 21:03:09 +08:00
zhenhuae 9a7eeb7eab feat: support amazon bedrock model 2025-10-14 21:03:09 +08:00
Magnus Müller b59c2bf539 Success to true msg 2025-10-13 21:47:41 -07:00
Magnus Müller 4c37d4ed4f Merge remote-tracking branch 'origin/HEAD' into improve-force-done-message 2025-10-13 21:46:27 -07:00
Gregor Žunič 1399d4b257 v1 remote 2025-10-13 21:27:12 -07:00
Magnus Müller e06f87c1ad improve force done message 2025-10-13 21:25:20 -07:00
Magnus Müller 7f2e9fc4c3 Linter 2025-10-13 21:12:00 -07:00
Magnus Müller 20f8ef81e1 Unify extract in actor and tools 2025-10-13 21:11:26 -07:00
Magnus Müller cb4cfb1130 Fix: update shadow root attribute in HTMLSerializer to use 'shadowroot' instead of 'shadowrootmode', enhancing compatibility with declarative shadow DOM syntax. 2025-10-13 20:50:27 -07:00
Magnus Müller 84395f1641 Filter out json and metadata from markdown 2025-10-13 20:31:21 -07:00
Magnus Müller cf09b81af3 Update to markdownify 2025-10-13 20:07:38 -07:00
Magnus Müller 730019471d Fix: filter shadow roots from children nodes, ensuring clean separation in the DOM tree structure. Update EnhancedDOMTreeNode to make a copy of children_nodes to prevent mutation of the original list. 2025-10-13 19:36:13 -07:00
Reagan Hsu b7ca829032 Apply code style fixes from pre-commit hooks
- Reorganize imports in default_action_watchdog.py
- Remove unused platform import at top level
- Add proper spacing in inline comments
- Reformat function signatures to single line
- Fix import order in play_2048.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 19:36:06 -07:00
Reagan Hsu bc0ce8c226 Merge branch 'main' into fix/keyboard-events-complete 2025-10-13 19:29:16 -07:00
Reagan Hsu e1ff1edb93 import syntax 2025-10-13 19:26:17 -07:00
Magnus Müller 963e26bde6 Refactor HTMLSerializer to prioritize serialization of shadow roots before light DOM children, improving support for declarative shadow DOM and slot projection. 2025-10-13 19:21:37 -07:00
Reagan Hsu 8b3b117d9e fixed cubic errors 2025-10-13 19:15:32 -07:00