Commit Graph

360 Commits

Author SHA1 Message Date
Shuchang Zheng
83ad2adabd Rename old router to legacy_base_router (#2048)
Co-authored-by: Suchintan Singh <suchintansingh@gmail.com>
2025-03-31 02:57:54 -04:00
Shuchang Zheng
d54c2af544 use the BROWSER_REMOTE_DEBUGGING_URL for cdp connect directly (#2040) 2025-03-30 20:36:55 -04:00
Shuchang Zheng
e601a87298 update window.scroll/scrollTo syntax (#2032) 2025-03-27 01:11:19 -07:00
Shuchang Zheng
6c7e96d93e Handle createPolicy gracefully (#2031) 2025-03-27 01:03:25 -07:00
Shuchang Zheng
0ed236f092 safeScrollToTop (#2030) 2025-03-27 00:47:01 -07:00
Shuchang Zheng
e122821878 add safeWindowScroll function in js (#2029) 2025-03-27 00:44:49 -07:00
Shuchang Zheng
62591eff85 check null for document.body and document.documentElement inside function isWindowScrollable (#2028) 2025-03-27 00:26:41 -07:00
Shuchang Zheng
1532709224 improve date picker selection (#2018) 2025-03-25 18:00:15 +08:00
Shuchang Zheng
915bcfbf13 rename js sleep to asyncSleepFor (#2016) 2025-03-25 17:28:31 +08:00
Shuchang Zheng
19c7c56af7 migrate ProxyLocation to skyvern.schemas.runs (#2011) 2025-03-24 15:15:21 -07:00
Shuchang Zheng
ee8e1a2d44 improve navigation error handle (#2008) 2025-03-25 00:20:28 +08:00
Shuchang Zheng
fc32f917f8 support new browser type: cdp connect (#1875) 2025-03-23 17:05:38 -07:00
Shuchang Zheng
25837c7fe2 fix get_or_create_page by ensuring the page is returned (#1830) 2025-03-23 16:51:10 -07:00
Shuchang Zheng
d8d8f8ab79 revert checkbox detect enhance (#1998) 2025-03-22 09:07:58 +08:00
Shuchang Zheng
4f9af0d797 fail task right away when scraping failed - no need to retry scraping failure at step level (#1997) 2025-03-21 15:47:36 -07:00
Shuchang Zheng
d3dbdee800 Add browser session id permission checking for task v1, v2, and workflow runs (#1980) 2025-03-20 14:26:14 -07:00
Saurabh Misra
d211024adf ️ Speed up method SkyvernElement.get_id by 20% (#1912)
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
2025-03-19 18:16:43 -07:00
Shuchang Zheng
ab2e5afd72 don't add helper attr as hack for checkbox and radio (#1970) 2025-03-20 01:33:38 +08:00
Shuchang Zheng
c680e33b30 don't drawbox when check user goal (#1964) 2025-03-19 02:06:09 +08:00
Shuchang Zheng
6cc595d04c add angualar date picker support (#1955)
Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
2025-03-18 03:12:16 +08:00
Shuchang Zheng
46eaa3545d add action history even when empty (#1939) 2025-03-14 10:15:42 -07:00
Shuchang Zheng
a572126d61 improve dropdown detect (#1927) 2025-03-12 03:33:09 +08:00
Shuchang Zheng
69d9003735 improve custom selection exit logic (#1919) 2025-03-11 23:09:21 +08:00
Shuchang Zheng
785c2f0626 add svg into interactable detecting (#1917) 2025-03-11 03:04:45 +08:00
Saurabh Misra
fcc87243c1 ️ Speed up function clean_element_before_hashing by 827% (#1890)
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
2025-03-08 02:14:48 -08:00
Shuchang Zheng
bc8e458ed1 fix workflow run browser context missing problem (#1902) 2025-03-07 15:06:24 -08:00
Shuchang Zheng
fd934dcfe6 fix task v2 block goto url issue (#1899) 2025-03-07 10:27:19 +08:00
Shuchang Zheng
eb4314591e fix ScrapedResult schema (#1898) 2025-03-06 12:18:42 -08:00
Shuchang Zheng
ab02998d19 fix element invisible detect (#1889)
Co-authored-by: lawyzheng <lawyzheng1106@gmail.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-03-06 03:37:15 +08:00
Shuchang Zheng
394d4cf64b do not raise error when agent hallucinate the download (#1872) 2025-03-04 03:39:15 +08:00
Shuchang Zheng
e9c8eefd09 checkbox check or uncheck issue (#1850) 2025-02-27 14:39:16 +08:00
Shuchang Zheng
ea924f9467 simplify create session (#1849) 2025-02-26 17:49:36 -08:00
Shuchang Zheng
9b9c84f7dc enhance checkbox detecting (#1840)
Co-authored-by: LawyZheng <lawyzheng1106@gmail.com>
2025-02-26 18:47:09 +08:00
Maksim Ivanov
71cbd27b7e Check if video exists before assignment (#1788) 2025-02-18 23:51:35 +08:00
Maksim Ivanov
ad7de04dc5 Handle exception if missing video (#1787) 2025-02-18 23:32:12 +08:00
Shuchang Zheng
30ae63bae9 pop frame_index from element for element hashing (#1785) 2025-02-18 16:45:17 +08:00
Shuchang Zheng
5e49685c76 refactor unique id generation (#1781) 2025-02-18 08:58:23 +08:00
Shuchang Zheng
c846d3871b do not clean up workflow in a task v2 block (#1771) 2025-02-17 02:40:47 +08:00
Maksim Ivanov
63a37cf799 Make get_browser_state async (#1775) 2025-02-16 20:10:00 +08:00
Shuchang Zheng
1759f06f65 trigger TerminateAction when totp code is not found (#1768) 2025-02-14 01:50:38 +08:00
Shuchang Zheng
b411af56a6 fix custom selection issue (#1766) 2025-02-13 21:11:14 +08:00
Shuchang Zheng
866a16ec99 When replaying cached actions, ignore input_text action with empty text (#1763) 2025-02-12 20:09:32 +08:00
Shuchang Zheng
f16367bf96 fix terminate action in caching - do not replay terminate + introduce SINGLE_CLICK_AGENT_LLM_API_HANDLER (#1760) 2025-02-12 17:10:24 +08:00
Shuchang Zheng
9cb2a7dbaf no need to complete verify for cached action anymore (#1756) 2025-02-11 15:55:41 +08:00
Shuchang Zheng
defd761e58 add functionality to cache task_run (#1755) 2025-02-11 14:47:41 +08:00
Shuchang Zheng
cc449dc9de skip press esc when no dropdown shown (#1728) 2025-02-06 01:23:34 +08:00
Shuchang Zheng
6f3dcd13b8 fix invisible iframe scraping (#1723) 2025-02-05 13:33:45 +08:00
Shuchang Zheng
0c0a368c64 fix select dropdown issue (#1718) 2025-02-05 01:27:49 +08:00
Shuchang Zheng
430c6b7851 add select agent llm handler (#1713) 2025-02-04 19:16:39 +08:00
Shuchang Zheng
f0b274d31d add get page video timeout (#1710) 2025-02-04 14:56:37 +08:00