Magnus Müller
37c177e840
reduce frequency_penalty
2025-08-31 14:19:39 -07:00
Magnus Müller
a915a0b95c
Refactor navigate_to function and update tool descriptions for improved clarity and efficiency.
2025-08-31 13:50:54 -07:00
Magnus Müller
37573edd2e
navigate_to function
2025-08-31 12:34:38 -07:00
Magnus Müller
33f69b1525
less-timeouts
2025-08-31 11:18:47 -07:00
Magnus Müller
84c644aedb
Patch extension with whitelist
2025-08-30 18:27:21 -07:00
Magnus Müller
f50cc45b51
Works to remove cookies
2025-08-30 18:14:59 -07:00
Magnus Müller
ce0876adb7
highlight in parallel
2025-08-29 22:17:50 -07:00
Magnus Müller
4a62fe11f9
More logging
2025-08-29 21:42:14 -07:00
Magnus Müller
e8bd85865d
Add filter for highlight IDs in screenshot generation and update element colors
...
- Introduced `filter_highlight_ids` option in `BrowserProfile`, `BrowserSession`, and `create_highlighted_screenshot` to control the visibility of element IDs based on text length.
- Updated `draw_enhanced_bounding_box_with_text` to utilize the new filtering logic for enhanced visual clarity.
- Changed the color of text areas from yellow to orange for improved visibility in the UI.
2025-08-29 20:56:03 -07:00
Magnus Müller
8511c2d398
Remove display highlights on screen feature and adjust bounding box drawing parameters
...
- Eliminated the `display_highlights_on_screen` option from `BrowserProfile` and `BrowserSession` to streamline the highlighting functionality.
- Updated the `draw_enhanced_bounding_box_with_text` function to increase font size for better visibility and reduced padding for a more compact layout.
- Removed associated screenshot overlay logic in `DOMWatchdog` to reflect the removal of the display highlights feature.
2025-08-29 20:38:57 -07:00
Magnus Müller
634dd20e37
Add display highlights on screen feature and enhance bounding box drawing
...
- Introduced `display_highlights_on_screen` option in `BrowserProfile` and `BrowserSession` to control the visibility of highlights directly on the browser screen.
- Implemented `draw_enhanced_bounding_box_with_text` function to improve the visual representation of highlighted elements with larger indices and solid borders.
- Updated screenshot overlay logic in `DOMWatchdog` to utilize the new highlighting feature, ensuring better visibility of interactive elements during browser sessions.
2025-08-29 20:19:26 -07:00
Magnus Müller
3e568d4280
Merge remote-tracking branch 'origin/main' into cursor/generate-python-highlights-for-browser-screenshot-ef29
2025-08-29 19:56:47 -07:00
Magnus Müller
8be1a17774
Fix dont reasign event in on_CloseTabEvent
2025-08-29 14:57:58 -07:00
Magnus Müller
babe510c30
When closing tabs, first check if we need to open a new one
2025-08-29 13:41:25 -07:00
Magnus Müller
4c10628ff2
Dont open new tab, if we are already inside a new tab
2025-08-29 11:35:02 -07:00
Magnus Müller
c969b956d6
Logger statement
2025-08-27 17:24:59 -07:00
Magnus Müller
21febf82ad
Check for highlight_elements flag
2025-08-27 16:41:13 -07:00
Magnus Müller
78049eee07
Remove 0.5 s waiting in navigation
2025-08-27 12:26:59 -07:00
Magnus Müller
e07c229104
Skip switch tab
2025-08-27 12:13:08 -07:00
Magnus Müller
11a50db4fb
hot-fix-local-true-if-no-cdp-url
2025-08-27 11:01:20 -07:00
Magnus Müller
0373511de6
Set is local to false by default
2025-08-27 10:08:17 -07:00
Magnus Müller
0ec47ecd3d
Raise error if browser start fails
2025-08-26 21:26:04 -07:00
Magnus Müller
78cb7e5466
Remove 25 unused parameters
2025-08-26 16:19:53 -07:00
Magnus Müller
29685aa7ce
Merge remote-tracking branch 'origin/main' into rename-controller-to-tools
2025-08-26 13:58:21 -07:00
Magnus Müller
325e5f3fcd
hot-fix cdp-url unused
2025-08-26 12:53:42 -07:00
Magnus Müller
caa0e7ef1b
Rename controller to tools instances
2025-08-26 11:30:39 -07:00
Magnus Müller
505a103aa3
Browser import works
2025-08-25 21:16:30 -07:00
Magnus Müller
21f4a80c13
Cdp url on profile and session
2025-08-25 18:39:32 -07:00
Magnus Müller
3f8156fe2b
Replicate profile parameters in session
2025-08-25 18:19:01 -07:00
Nick Sweeting
720635f8f5
tweak logging to use target id everywhere consistently instead of python id of page obj
2025-08-22 16:04:20 -07:00
Nick Sweeting
f08001581f
fix variable scoping in downloads watchdog
2025-08-21 17:33:24 -07:00
Nick Sweeting
3c90c842a0
move watchdogs into subfolder
2025-08-21 17:33:24 -07:00
Nick Sweeting
ab40cc71b5
prefer attr access
2025-08-21 17:33:13 -07:00
Nick Sweeting
b5892850ce
fix tab close handling
2025-08-21 17:31:02 -07:00
matt-greathouse
284a2e8a50
Change proxy argument to typed dict to match past format
2025-08-21 10:55:10 -04:00
matt-greathouse
4bb65309ba
Restored _on_request_paused handler
2025-08-20 15:40:43 -04:00
matt-greathouse
4c57a37bd5
Added debug logging and improve smoke test
2025-08-20 14:58:20 -04:00
matt-greathouse
eb9556a0c3
Fix request hanging and ensure proxy authentication works across tabs
2025-08-20 13:55:28 -04:00
matt-greathouse
4e0ce78f43
Add authenticated proxy support
2025-08-20 11:17:25 -04:00
Nick Sweeting
140346b99e
fix clicking and typing in iframes
2025-08-19 18:15:04 -07:00
Magnus Müller
13dce77c98
Update info logger to debug and clean up logs
2025-08-19 00:02:42 -07:00
Magnus Müller
8c1b4bf794
Update info logger to debug
2025-08-18 23:37:31 -07:00
Magnus Müller
1375013df7
BBox on entire page works
2025-08-17 16:14:50 -07:00
Nick Sweeting
9bc76dacfa
typing of attach_handler_to_session and on_SwitchTabEvent handling when no pages are open
2025-08-16 17:08:04 -07:00
Nick Sweeting
99a0e5a3bd
rename ClickElementEvent.new_tab to while_holding_ctrl
2025-08-16 16:25:15 -07:00
Nick Sweeting
8d86832095
fix SwitchTab by using TargetID for all tab_ids
2025-08-15 16:45:27 -07:00
Nick Sweeting
ef64704cd7
always re-focus and resume runtime if paused
2025-08-14 19:55:43 -07:00
Nick Sweeting
78ee73c949
cleaner logging slightly
2025-08-14 19:06:18 -07:00
Nick Sweeting
c5d33b4537
add timeouts around occasionally slow getLayoutMetrics and always focus before getting layout
2025-08-14 18:38:42 -07:00
Nick Sweeting
287a66822c
tweak get_dropdown_options wording to avoid LLM over-use
2025-08-14 17:39:41 -07:00