Commit Graph

1581 Commits

Author SHA1 Message Date
Sergey Petrov 478f9a39f4 Fix: include tab chars to replacement 2025-01-19 15:13:08 +07:00
Ran Locar c161216e56 added support for custom user agent and an example to demonstrate it 2025-01-19 09:59:39 +02:00
Sergey Petrov 1267c4d275 Fix for nested iframes 2025-01-19 14:22:21 +07:00
Sergey Petrov ab8420a6b4 Fix for newlines in css selector for attribute values 2025-01-19 13:55:05 +07:00
katiue 8648b6315f remove some uneccessary space 2025-01-18 23:02:00 +07:00
katiue 34b6a6f90c implement highlight function 2025-01-18 22:57:25 +07:00
erikmuttersbach 24c9a7c9f9 Re-using context when cdp is used 2025-01-16 23:29:49 +01:00
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
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
GatienBoquet 869a7d2d91 feature: add cdp_url to BrowserConfig 2025-01-09 11:53:20 -05:00
magmueller bc2ddd5d17 Error handling 2025-01-07 07:31:52 -08:00
Tom Mahler 2454893f69 no need for async 2024-12-20 14:29:23 +02:00
Tom Mahler b8fb622dd0 _add_new_page_listener should be called before page = await context.new_page() 2024-12-20 14:25:33 +02:00
Gregor Žunič 5e545d7242 default window size squareish 2024-12-10 13:03:55 +01:00
Gregor Žunič 14239da7fc fixed new context config 2024-12-09 18:22:06 +01:00
magmueller 1cf837e314 Merge remote-tracking branch 'origin/HEAD' into multi-step 2024-12-06 17:15:29 +01:00
Gregor Žunič 15b89b8c38 set default no_viewport to None 2024-12-06 15:13:05 +01:00
Gregor Žunič 75d28b01f5 more error handling for browser closing 2024-12-06 14:57:35 +01:00
Gregor Žunič 5cef473b94 fixed css selector special characters 2024-12-05 22:49:17 +01:00
Shahar Yair 8bc1729096 removed Optional type 2024-12-05 13:47:25 +02:00
Shahar Yair ba63dd42e3 added optional proxy to browser 2024-12-05 13:25:34 +02:00
magmueller d3b346733f Merge remote-tracking branch 'origin/HEAD' into multi-step 2024-12-05 10:16:55 +01:00
Gregor Žunič b9172cc561 pass special class names 2024-12-05 09:55:50 +01:00
Gregor Žunič 06e375c4c7 reverted back to original css selector + filter safe attributes 2024-12-05 09:49:41 +01:00
magmueller 484673e6be Merge commit 'd6c07da370b4bf74d37c4decf7b7cce5d1610b4b' into multi-step 2024-12-05 00:02:55 +01:00
magmueller b58f5443b0 Upload file more robust 2024-12-05 00:02:26 +01:00
Gregor Žunič d6c07da370 hot fix: generation of css selector 2024-12-04 20:59:04 +01:00
magmueller f27e65500a Merge remote-tracking branch 'origin/HEAD' into multi-step 2024-12-04 17:31:21 +01:00
magmueller faf22c8c34 Hacky fix just tell user to close all chrome instances 2024-12-04 16:49:33 +01:00
Gregor Žunič 45a46f8fbd tiny improvements to css selector generation 2024-12-04 15:22:07 +01:00
magmueller 05300b30f8 File upload works robust and can connect to existing browser 2024-12-04 15:08:55 +01:00
magmueller e0ab9d9a0c Default headless to false 2024-12-03 14:20:12 +01:00
magmueller 13bb5f7141 Merge remote-tracking branch 'origin/staging' into multi-step 2024-12-03 10:18:55 +01:00
magmueller 60fbbcae93 Split HistoryTreeProcessor in views and service 2024-12-03 09:26:17 +01:00
magmueller 9d44efb9bf Change window size 2024-12-02 18:36:35 +01:00
Gregor Žunič ad0db053b7 Merge branch 'staging' into feature/infrastructure 2024-12-02 18:34:16 +01:00
Gregor Žunič b6214fe4fd save traces, browser context has context_id 2024-12-02 13:07:01 +01:00
Gregor Žunič 941122a72c ability to save trace 2024-12-02 11:42:56 +01:00
Gregor Žunič 1721eefa8c save recording path 2024-12-02 10:29:53 +01:00
Gregor Žunič 36fabb799c fixed tests, now headless, no more asyncio errors (hopefully) 2024-12-02 10:09:22 +01:00
magmueller 34ca52ea3a Fix small actions - improve prompt for multiaction - improve logging 2024-12-01 22:34:17 +01:00
magmueller c581a1b251 First draft multi-action runs 2024-12-01 21:00:22 +01:00
Gregor Žunič cf27d9e1c5 allows parralelized agents 2024-12-01 20:17:10 +01:00
magmueller 0c15d6c6d3 More robust when page closes 2024-12-01 20:00:34 +01:00
Gregor Žunič d4e9257c4c renamed service to browser 2024-12-01 14:14:48 +01:00
magmueller a25711848b Change cookie log level to debug 2024-11-30 13:31:10 +01:00
magmueller 9dfc1f3faf Seperate class for browserhistory - fixed type errors 2024-11-28 23:59:49 +01:00
magmueller c39bf65da1 Merge remote-tracking branch 'origin/main' into feature/reexecutable-script 2024-11-28 23:28:06 +01:00
magmueller 58657f1217 Fix type errors 2024-11-28 23:11:52 +01:00
Gregor Žunič fe249cc465 improved docs, hydrate cookies on every state get 2024-11-28 23:07:46 +01:00