Commit Graph

4347 Commits

Author SHA1 Message Date
Promise Ogbonna 92db04b7e1 Include locale in BrowserContextConfig
Locale will affect navigator.language value, Accept-Language request header value as well as number and date formatting rules. Defaults to the system default locale.

[Playwright Browser Context Options - Locale](https://playwright.dev/python/docs/api/class-browsertype#browser-type-launch-persistent-context-option-locale)
2025-01-15 20:15:23 +01:00
Magnus Müller 440e5776f2 Merge branch 'main' into select-drop-down-options-by-value 2025-01-13 11:30:23 -08:00
magmueller e8f4cc3d8c Update prompt 2025-01-13 07:51:11 -08:00
magmueller aea1d79b58 Fix empty page 2025-01-13 07:45:40 -08:00
magmueller 1b48e45b0f Changed link 2025-01-13 07:23:07 -08:00
magmueller a9d095e365 No default value try 2025-01-13 07:18:13 -08:00
magmueller d24e157106 Fix default is not permitted 2025-01-13 07:13:30 -08:00
shyam-king 7274d3356c feat: allow specifying path for gif file 2025-01-13 18:22:25 +05:30
magmueller fd93df4bd4 Fix source 2025-01-12 22:29:50 -08:00
magmueller daab09a95d Log action names 2025-01-12 22:10:31 -08:00
magmueller 944669e487 Log button name 2025-01-12 22:10:21 -08:00
magmueller 5f6b23bc11 Log button name 2025-01-12 22:10:07 -08:00
magmueller 9af7db444c Remove location 2025-01-12 22:09:53 -08:00
magmueller fc3ea9c2c1 Include git version 2025-01-12 21:36:46 -08:00
magmueller 2ae630697f Log nth error 2025-01-12 21:24:19 -08:00
magmueller 8942f9d33f Log llm name, pip version and errors 2025-01-12 21:14:20 -08:00
magmueller 18a42db882 Only option for markdown or text depending if links are needed 2025-01-12 18:16:53 -08:00
magmueller f6928747d5 Fix task instruction to be more clear and less likly end up in hallucination 2025-01-12 18:05:37 -08:00
magmueller 82884d6d64 Include text of button when clicked 2025-01-12 17:49:12 -08:00
magmueller 27da888d05 Include information that page was cut off. 2025-01-12 17:33:35 -08:00
Magnus Müller ee9a2b98f1 Merge pull request #210 from pratikpakhale/fix-highlight-toggle
fix: highlight elements arg in build-dom-tree script
2025-01-12 07:21:54 -08:00
ok-oldking e9a2d781db fix typos in prompts.py 2025-01-12 18:47:45 +08:00
ok-oldking 0e8e147b0a fix typos in prompts.py 2025-01-12 18:24:43 +08:00
Pratik 74af983440 fix: highlight elements arg in build-dom-tree script 2025-01-11 02:22:16 +05:30
Gregor Žunič 3a9d86cdb5 Merge pull request #105 from MahlerTom/main
[BUG] `on_page` is called not being called for the first `new_page()` in `_initialize_session`
2025-01-10 08:10:01 -08:00
Ikko Eltociear Ashimine 6c2f514d5b chore: update service.py (#128)
ouput -> output
2025-01-10 07:50:58 -08:00
Jan Rupnik e9372270d3 Fix so that logging_config.py reads .env file (#162)
Without it the variable BROWSER_USE_LOGGING_LEVEL in .env is ignored
2025-01-10 07:44:38 -08:00
Gregor Žunič 2fa129e22d Merge pull request #201 from Michaelgathara/main
Feature: Disallow Google AI Overview on search
2025-01-10 07:19:03 -08:00
vvincent1234 d7de04e102 minor fix 2025-01-10 21:05:19 +08:00
michaelgathara 0224021809 feat: disallow Google AI Overview on search 2025-01-10 07:00:54 -06:00
vvincent1234 e6a9b2c2c6 fix: OS error of create_history_gif on Win 2025-01-10 20:46:39 +08:00
GatienBoquet 869a7d2d91 feature: add cdp_url to BrowserConfig 2025-01-09 11:53:20 -05:00
shyam-king f3953f305f disable default timeout(30s) for select_option() 2025-01-08 16:44:12 +05:30
shyam-king edae6d94b1 remove value from extract_select_options action, add additional instruction in output to guide the LLM 2025-01-08 03:35:11 +05:30
shyam-king dcc3b3de29 encode both text and value, and update the output format for better consistency 2025-01-08 03:09:14 +05:30
shyam-king 88b0204b24 Revert "choose select options based on option value instead of text"
This reverts commit 13a4ee7547.
2025-01-08 02:38:59 +05:30
magmueller 1c3c8a076c Merge branch 'main' into telemetry/improve-logging 2025-01-07 09:53:46 -08:00
magmueller 3808f30d3e No logo as default 2025-01-07 09:50:21 -08:00
shyam-king ec952493e0 use playwright.Locator.select_option instead of custom js 2025-01-07 23:16:40 +05:30
magmueller 1a86635b1c For default models like openai - include tool call in content because otherwise they need a response with the id 2025-01-07 08:22:43 -08:00
magmueller bc2ddd5d17 Error handling 2025-01-07 07:31:52 -08:00
magmueller 86ecf174b1 Fix error handling: remove last state in case of error 2025-01-07 07:31:29 -08:00
magmueller 998f833faa Prompt more specific 2025-01-07 07:30:51 -08:00
magmueller b3bbe45dad Fix if parameter is None 2025-01-07 07:08:15 -08:00
Pascal Schärli c1c43777df Remove unused import 2025-01-06 22:42:37 +01:00
Pascal Schärli 18bf231b18 Fix: Add example AI Message to increase likelyhood that first message is formatted correctly 2025-01-06 22:33:26 +01:00
Pascal Schärli aa6cec04e3 Fix: Properly format Tool Calls in Message History 2025-01-06 22:33:18 +01:00
magmueller 04f1124e4b Include country information 2025-01-06 04:54:36 -08:00
shyam-king d58d821144 fix: bubble change event so that react handlers can handle the event 2025-01-06 13:37:43 +05:30
shyam-king 13a4ee7547 choose select options based on option value instead of text 2025-01-04 00:43:06 +05:30