Commit Graph

88 Commits

Author SHA1 Message Date
Ulrich Soeffing
0f0e269ba8 Add handle_sigterm and handle_sigint args to DummyChromium launch method 2025-04-09 09:07:54 -04:00
Nick Sweeting
591097e35f add thorough real-world browser launch test for config models 2025-04-06 12:28:40 -07:00
Nick Sweeting
c49ce804a0 migrate from TypedDict to Pydantic models for browser config 2025-04-06 12:28:21 -07:00
Christian Clauss
e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting
89d48ad50f manually fix remaining broken lines 2025-03-28 18:13:47 -07:00
Nick Sweeting
fb6fa259a8 apply ruff safe fixes 2025-03-28 18:11:36 -07:00
Nick Sweeting
588a9f9f50 Merge branch 'main' into pre-commit_run_pre-commit-hooks_--all-files 2025-03-28 16:17:47 -07:00
Nick Sweeting
226eb99a4f Merge branch 'main' into ruff-linting 2025-03-28 15:44:47 -07:00
Nick Sweeting
e2e278da95 fix syntax errors 2025-03-28 15:39:31 -07:00
Nick Sweeting
ec56bfe81b run ruff on the entire codebase 2025-03-28 01:22:48 -07:00
Nick Sweeting
82adf4520d fix page filter and/or domain filtering logic 2025-03-27 23:48:01 -07:00
Nick Sweeting
5535a1ec0a update pydantic action models exposed to LLM on each page 2025-03-27 23:43:31 -07:00
Nick Sweeting
cc98598fb9 fix tests 2025-03-27 23:00:25 -07:00
Nick Sweeting
96ffecdd2a add test for action filtering by domain or func 2025-03-27 19:06:12 -07:00
Nick Sweeting
d2d8a7e3c6 Merge branch 'main' into Add-wait-for-element-action 2025-03-27 17:45:08 -07:00
Nick Sweeting
69a960fa4b refactor browser config setup process 2025-03-27 02:45:12 -07:00
Christian Clauss
ef9c7b1c09 Merge branch 'main' into pre-commit_run_pre-commit-hooks_--all-files 2025-03-26 08:00:43 +01:00
Edison S
fb22cc5a99 add multibrowser support 2025-03-05 13:32:03 -05:00
Christian Clauss
4abfaa6213 pre-commit run pre-commit-hooks --all-files 2025-02-27 12:21:42 +01:00
Magnus Müller
d129a7f27a Refine last step instructions and model testing configuration
- Update last step warning message in service.py to provide clearer, more explicit instructions for the "done" action
- Modify test_models.py to comment out DeepSeek model and adjust model testing configuration
- Enhance guidance on task completion, success status, and action requirements
2025-02-23 09:43:55 -08:00
Magnus Müller
10de9663f2 Enhance test model search and API key handling
- Update conftest.py to use SecretStr for OpenAI API key
- Modify test_models.py to improve model testing and error reporting
- Reorder model test parameters and IDs for better readability
- Add done and successful status tracking in model search test
- Improve error handling and logging in test model search function
2025-02-23 09:03:50 -08:00
Magnus Müller
061e701922 Add asyncio marker and refactor test fixtures
- Add 'asyncio' marker to pytest configuration
- Simplify LLM fixture by removing FakeListChatModel
- Update logging and code style in conftest.py
2025-02-23 08:37:44 -08:00
codebeaver-ai[bot]
6aeb07c063 test: Update coverage improvement test for tests/test_context.py 2025-02-13 08:19:55 +00:00
codebeaver-ai[bot]
0f96a42e1f test: Add coverage improvement test for tests/test_browser.py 2025-02-13 08:19:53 +00:00
Magnus Müller
97ecf70178 Merge pull request #686 from browser-use/codebeaver/patch-1-682
Update context.py to reload when using CDP remote browser - Unit Tests
2025-02-12 08:39:12 -08:00
Magnus Müller
1a2a227cb3 Merge pull request #689 from browser-use/#571-Improve-Text-Input-Handling-in-Browser-Context
#571 improve text input handling in browser context
2025-02-12 08:30:09 -08:00
codebeaver-ai[bot]
30e0eaaf5e test: Add coverage improvement test for tests/test_context.py 2025-02-12 10:10:30 +00:00
XxAlonexX
40fa134576 Dropdown Tests and Input Text Improvements 2025-02-07 22:42:33 +05:30
XxAlonexX
fde8544fba fix(tests): Simplify and stabilize dropdown tests
- Refactor dropdown tests to be more robust
- Remove hardcoded dependencies
- Add minimal test scenarios
- Improve test flexibility and reliability
- Ensure compatibility with project guidelines

Resolves: #543 (Text Input Handling)
2025-02-05 21:47:15 +05:30
Takeshi Kishi
f710c89b40 fix: ensure save_conversation_path ends with a slash and add tests for conversation logging 2025-02-05 19:56:43 +09:00
jersobh
4a35fab5a8 flag test to local only 2025-02-02 01:42:15 +00:00
jersobh
ac88cf46ee Added initial_actions and service action on registry for wait_for_element with timeout 2025-02-02 01:20:02 +00:00
magmueller
bef3b03da9 Extract always first content with llm and keep that extraction in context 2025-02-01 00:09:55 -08:00
magmueller
60237996d1 Test r1 model 2025-01-25 18:38:27 -08:00
codebeaver-ai[bot]
1ec2228494 test: Update coverage improvement test for tests/test_service.py 2025-01-21 21:31:02 +00:00
magmueller
9d54a77409 Test exclude actions 2025-01-21 13:25:17 -08:00
magmueller
76121bfcf1 Merge remote-tracking branch 'origin/main' into Enhancement/pause 2025-01-21 12:21:09 -08:00
magmueller
2a62036a38 Remove telemtry 2025-01-21 12:17:47 -08:00
magmueller
d24f46a083 Clean up tests 2025-01-21 12:02:52 -08:00
codebeaver-ai[bot]
2a4919af4d test: Add coverage improvement test for tests/test_service.py 2025-01-21 19:42:08 +00:00
codebeaver-ai[bot]
7687b48f41 test: Add coverage improvement test for tests/test_service.py 2025-01-21 19:00:40 +00:00
Magnus Müller
625246d4cf Merge pull request #251 from shyam-king/allow-gif-path-option
feat: allow specifying path for gif file
2025-01-19 17:22:06 -08:00
magmueller
7711946199 End of file line 2025-01-19 17:16:53 -08:00
magmueller
9b6a61b0f0 Merge branch 'handle-react-select' of https://github.com/shyam-king/browser-use into shyam-king-handle-react-select 2025-01-19 16:01:19 -08:00
magmueller
88250fc110 All models test 2025-01-19 12:38:24 -08:00
magmueller
8c090f2821 Remove tool_call_in_content 2025-01-19 11:32:35 -08:00
Magnus Müller
440e5776f2 Merge branch 'main' into select-drop-down-options-by-value 2025-01-13 11:30:23 -08:00
shyam-king
7274d3356c feat: allow specifying path for gif file 2025-01-13 18:22:25 +05:30
shyam-king
377fdd9fdb removed irrelevant test file 2025-01-13 02:25:35 +05:30
shyam-king
f3953f305f disable default timeout(30s) for select_option() 2025-01-08 16:44:12 +05:30