Commit Graph

57 Commits

Author SHA1 Message Date
LawyZheng
da66d66132 fix id selector (#573) 2024-07-10 14:55:59 +08:00
LawyZheng
474de0e576 exclude base64 data (#567) 2024-07-09 11:36:25 +08:00
LawyZheng
bcbd738326 refactor select handler (#565) 2024-07-09 02:22:16 +08:00
LawyZheng
7a75bb3741 fix bug on HTML tree (#561) 2024-07-06 22:22:22 +08:00
LawyZheng
e52d585f9f support select2 in iframe (#560) 2024-07-06 13:32:55 +08:00
LawyZheng
690c1a1a96 support shadow dom (#555) 2024-07-05 02:54:49 +08:00
LawyZheng
cd0d563070 use css selector instead of xpath (#551) 2024-07-04 10:45:47 +08:00
LawyZheng
b791cc1ae5 add timeout for page.content() (#541) 2024-07-03 17:17:24 +08:00
Kerem Yilmaz
22566f01ce Mark options of disabled select non-interactable (#540) 2024-07-03 16:38:50 +08:00
Kerem Yilmaz
257ba1601e Decorate bounding boxes with element_ids to improve Skyvern accuracy (+ a few more changes) (#536) 2024-07-02 00:24:52 -04:00
LawyZheng
c44a3076c0 fix invisible svg bug (#525) 2024-06-27 20:24:28 +08:00
LawyZheng
ccaf34c49b fix scraping failed (#509) 2024-06-25 13:03:55 +08:00
LawyZheng
73d9f17bd0 support svg element (#508) 2024-06-25 12:16:10 +08:00
LawyZheng
6a472da51e re-enable iframe (#507) 2024-06-25 11:54:06 +08:00
LawyZheng
6140cc59f0 try to fix screenshot timeout (#502) 2024-06-24 23:14:45 +08:00
LawyZheng
be86a33c3b refactor select2 (#485) 2024-06-18 11:34:52 +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
420eef18dd Remove id for noninteractable and interactable attr in prompt (#430) 2024-06-13 10:14:21 +08: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
LawyZheng
c43fd796ed turn off iframe (#436) 2024-06-06 23:19:37 +08: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
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
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
LawyZheng
f86097fc78 DomUtil optimize (#350) 2024-05-21 10:49:21 +08: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
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
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
LawyZheng
01f834bbbd tag element out of the page as non-interactable (#273) 2024-05-08 10:25:32 +08:00
LawyZheng
8d87e71891 remove the old context tree (#268) 2024-05-08 10:16:30 +08:00
Shuchang Zheng
b6a85cf3a5 remove exc_info from LOG.exception (#246) 2024-04-30 00:27:32 -07:00
LawyZheng
f000793591 Upgrade context limit (#235) 2024-04-25 09:38:39 +08:00
LawyZheng
cc6ae8bae0 refactor context tree (#212) 2024-04-21 22:30:37 +08:00
Kerem Yilmaz
7042592bf6 Add more context to element tree (#207) 2024-04-18 03:37:04 -07:00
LawyZheng
8dacbebd65 support dropdown on combobox (#206) 2024-04-18 15:06:46 +08:00
LawyZheng
c162ad3d0c Fix select action bug (#202) 2024-04-17 21:51:16 +08:00
LawyZheng
b6f3bc2c41 add linked element context (#196) 2024-04-16 15:46:04 +08:00
LawyZheng
935453c3da update the rewritten select2 code (#187) 2024-04-14 11:21:24 +08:00
Kerem Yilmaz
7b1c1d5a02 Don't interact with fields that are already filled in (#183) 2024-04-12 23:05:25 -04:00
Suchintan
3ea46b93cf Revert "Don't interact with fields that are already filled in" (#182) 2024-04-12 23:00:54 -04:00
Kerem Yilmaz
e17c5c176c Don't interact with fields that are already filled in (#181) 2024-04-12 22:51:34 -04:00
LawyZheng
e424f013f9 don't hide select2 element if not neccessary (#179) 2024-04-11 23:50:16 +08:00