Commit Graph

90 Commits

Author SHA1 Message Date
LawyZheng
be86a33c3b refactor select2 (#485) 2024-06-18 11:34:52 +08:00
Kerem Yilmaz
b300f9dcf0 Revert "Select option handler bugfix" (#484) 2024-06-17 17:45:19 -07:00
Kerem Yilmaz
07fd58be23 Select option handler bugfix (#482) 2024-06-17 08:37:31 -07:00
LawyZheng
df2c55ba86 add validate browser (#481) 2024-06-17 11:22:36 +08:00
Kerem Yilmaz
af81fb7206 add a 2-min timeout for press_sequentially (#478) 2024-06-17 07:33:25 +08:00
Kerem Yilmaz
536736a7bf Move a tag href target rewriting to the core loop to prevent new tabs from being opened (#475) 2024-06-15 23:56:23 -04:00
LawyZheng
9c2be1335b move resolve locator (#472) 2024-06-14 14:58:44 +08:00
LawyZheng
81619dd850 add skyvern element (#466) 2024-06-13 15:34:21 +08:00
LawyZheng
420eef18dd Remove id for noninteractable and interactable attr in prompt (#430) 2024-06-13 10:14:21 +08:00
Kerem Yilmaz
bce6b6ae32 SelectOption is only invalid if label, value, and index are missing (#463) 2024-06-12 16:14:31 -07:00
Kerem Yilmaz
8e21c8b39e Update domutils with getVisibleText (#460) 2024-06-11 22:33:37 -07:00
Suchintan
bb19a8ab8e Fix linting issue (#453) 2024-06-10 17:15:11 -04:00
ishmeals
96a35a8f1e fix for trusted types (#444) 2024-06-10 17:12:58 -04:00
Kerem Yilmaz
042e34d261 Better feedback (exception message) when skyvern can't input text to an element (#445)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
2024-06-07 11:28:19 -07:00
Kerem Yilmaz
3801bcbf19 store confidence_float in db (#446) 2024-06-07 10:57:53 -07:00
LawyZheng
c43fd796ed turn off iframe (#436) 2024-06-06 23:19:37 +08:00
Kerem Yilmaz
2ffe4e1a14 fix step output select option validation error (#433) 2024-06-05 23:03:33 -07:00
LawyZheng
b4e95d29ce stop using page.click and page.locator in action handler (#426) 2024-06-06 11:04:04 +08:00
Kerem Yilmaz
aedb26b06b update text input logic to make things faster (#425) 2024-06-05 19:27:48 -07:00
LawyZheng
285419349c iframes support (#405)
Co-authored-by: Aleksei Zarubin <12220926+alexzarbn@users.noreply.github.com>
2024-06-06 10:07:32 +08:00
LawyZheng
064c831524 Remove no executed result (#417) 2024-06-06 08:55:42 +08:00
Kerem Yilmaz
92f72b27a5 fix element_id type for action and web action + add unit tests for actions (#424) 2024-06-05 15:41:08 -07:00
Kerem Yilmaz
d89c948b76 support both int and str for element_id (#423) 2024-06-05 13:59:04 -07:00
Kerem Yilmaz
3f3fbbc63d fix input text action with no text in GET steps API (#421) 2024-06-05 13:18:35 -07:00
Aleksei Zarubin
d5abfc9179 Use 4-char element ids instead of sequential integers (#361)
Co-authored-by: LawyZheng <lawyzheng1106@gmail.com>
2024-06-03 19:38:08 +08:00
Kerem Yilmaz
f1d5a3a687 complete_on_downloads for task block (#403) 2024-06-02 23:24:30 -07:00
LawyZheng
6445fb93b0 skip invalid actions during parsing (#381) 2024-05-30 09:23:58 +08:00
LawyZheng
1b2077facd fix null element execption (#370) 2024-05-28 15:25:13 +08:00
LawyZheng
eab07939f5 fix scrolling failure on some websites (#369) 2024-05-27 15:28:41 +08:00
LawyZheng
20f6fd2a10 fix invalid css query on linked elements (#372) 2024-05-27 15:18:22 +08:00
Shuchang Zheng
5e88d64a11 input data instantly for press_sequentially when there's too much characters (#367) 2024-05-26 12:15:13 -07:00
Shuchang Zheng
5d1dac0902 make the press_sequentially timeout 3x of the estimation time (#360) 2024-05-24 00:14:40 -07:00
LawyZheng
f86097fc78 DomUtil optimize (#350) 2024-05-21 10:49:21 +08:00
Kerem Yilmaz
0719396136 use press_sequentially to replace fill (#349) 2024-05-20 19:43:45 -07:00
LawyZheng
5acdddf67e deep copy the attribute to avoid duplicated (#345) 2024-05-20 15:05:45 +08:00
Shuchang Zheng
2466897158 adopt ruff as the replacement for python black (#332) 2024-05-16 18:20:11 -07:00
Shuchang Zheng
9e1b07451f update pre-commit (#330) 2024-05-16 17:11:49 -07:00
LawyZheng
f2f9122799 optimize select action (#316) 2024-05-15 02:15:18 +08:00
LawyZheng
9926ee1d36 including non-interatable elements (#315) 2024-05-14 18:43:06 +08:00
Kerem Yilmaz
1953874717 Revert "An element is interactable if it has a click event listener (#1119)" (#313) 2024-05-14 00:23:43 -07:00
Kerem Yilmaz
4f814f5aec An element is interactable if it has a click event listener (#311) 2024-05-13 22:26:24 -07:00
Kerem Yilmaz
9f1c679e09 Add download flag to click action, update dom logic (#310) 2024-05-13 22:18:42 -07:00
Shuchang Zheng
e89318aba8 remove connect_to_scraping_browser (#303) 2024-05-13 09:08:12 -07:00
Kerem Yilmaz
6a83f367ba Handle LLM returning element_id instead of id, and handle cases where it may not be returned at all (#301) 2024-05-12 23:18:34 -04:00
LawyZheng
ab88f24df6 log screenshot taking time (#300) 2024-05-13 10:41:23 +08:00
LawyZheng
25311dee86 convert element tree json -> html (#299) 2024-05-13 09:37:17 +08:00
LawyZheng
49baf471ab fix scrolling problem (#289) 2024-05-10 12:07:03 +08:00
Kerem Yilmaz
220f676dd9 Update screenshot logic (#281) 2024-05-08 02:48:45 -07:00
Kerem Yilmaz
cc91c1b2b6 Ykeremy/click instead of download (#275) 2024-05-07 23:54:07 -07:00
LawyZheng
01f834bbbd tag element out of the page as non-interactable (#273) 2024-05-08 10:25:32 +08:00