Commit Graph

99 Commits

Author SHA1 Message Date
karishmas6
710405024b feat: sort a list of selector paths based on their penalty scores 2024-06-05 23:43:00 +05:30
karishmas6
134b29ecb9 feat: recursively generate all possible combinations of selector nodes fromprovided stack 2024-06-05 23:42:27 +05:30
karishmas6
0dd469eae6 feat: helper fxn to check null vals 2024-06-05 23:39:55 +05:30
karishmas6
4af7caf0aa feat: filter null/undefined vals from potential selector nodes 2024-06-05 23:38:36 +05:30
karishmas6
531a2ba6bd feat: check if ::nth-child() psuedo-class selector be omitted 2024-06-05 23:28:11 +05:30
karishmas6
d5f1fcffdd feat: increase penalty compared to base node 2024-06-05 23:27:20 +05:30
karishmas6
37a1879c93 feat: create selector node representing :nth-chil()d pseudo-class 2024-06-05 23:26:56 +05:30
karishmas6
ae4d58ab0b feat: calculate els position among siblings (assume parent el) 2024-06-05 23:25:31 +05:30
karishmas6
e752166343 feat: return selector node representing wildcard selector with highest degree penalty 3 2024-06-05 23:24:38 +05:30
karishmas6
161af107ec feat: check if el tag name valid 2024-06-05 23:23:38 +05:30
karishmas6
aba844e4a4 feat: create selector nodes for each valid class name 2024-06-05 23:22:59 +05:30
karishmas6
16e617405e feat: retrive class selectors for el 2024-06-05 23:22:34 +05:30
karishmas6
aeed80ee8d feat: create selector nodes for each valid attr 2024-06-05 23:21:48 +05:30
karishmas6
cf3b56d343 feat: retrive attribute selectors for el 2024-06-05 23:20:34 +05:30
karishmas6
66ad8e9c28 feat: check if id valid as per idName 2024-06-05 23:19:40 +05:30
karishmas6
fe39d8620f feat: check if el has unique id 2024-06-05 23:19:17 +05:30
karishmas6
139c22ba83 feat: check if a CSS selector path identifies a unique el on webpage 2024-06-05 22:48:55 +05:30
karishmas6
40100eb495 feat: calculates a penalty score based on a CSS selector pat. 2024-06-05 22:36:53 +05:30
karishmas6
82a447cd5d feat: move on to next el in the path 2024-06-05 22:34:02 +05:30
karishmas6
3d96faf9ac feat: sibling / ancestor 2024-06-05 22:33:41 +05:30
karishmas6
223f09f93d feat: child selector (direct descendant) 2024-06-05 22:33:06 +05:30
karishmas6
f3a1e7b9f6 feat: get the element's level (depth in DOM tree) 2024-06-05 22:32:19 +05:30
karishmas6
8e2b0b4550 feat: intialize query string with first query name 2024-06-05 22:31:33 +05:30
karishmas6
7ba43ec3d7 feat: start with the first element in the path 2024-06-05 22:31:05 +05:30
karishmas6
1261994899 feat: return first unique path found 2024-06-05 22:28:15 +05:30
karishmas6
1eeb73b93e feat: try each candidate path to see if it uniquely identifies an element on the webpage 2024-06-05 22:27:41 +05:30
karishmas6
6dda179409 feat: use fallback if too many combinations found 2024-06-05 22:19:52 +05:30
karishmas6
76ff3392d3 feat: sort all possible combinations of selectors from the stack 2024-06-05 22:16:18 +05:30
karishmas6
4e2c80d056 feat: bottom up search by traversing the DOM tree upwards from the element for CSS selector 2024-06-05 11:41:56 +05:30
karishmas6
ee624361ff feat: if path, sort, optimize path & input 2024-06-05 10:45:51 +05:30
karishmas6
1afd38f1c0 feat: use bottomUpSearch for path 2024-06-05 10:45:15 +05:30
karishmas6
4dd35d599b feat: html handle 2024-06-05 10:44:19 +05:30
karishmas6
ebd82480e1 feat: throw err for non-element node type 2024-06-05 10:44:01 +05:30
karishmas6
01f3381289 feat: types for Node 2024-06-05 10:42:00 +05:30
karishmas6
24bdea4c10 feat: find root document 2024-06-05 10:36:27 +05:30
karishmas6
a2d4dfb68c feat: implement finder for selector generation 2024-06-05 10:36:06 +05:30
karishmas6
28de16be12 feat: type Options for selctors 2024-06-05 10:34:17 +05:30
karishmas6
45c51c0d32 docs: getElementInformation comment docs 2024-06-05 07:05:53 +05:30
karishmas6
1b176f8e16 feat: get element information 2024-06-05 07:05:20 +05:30
karishmas6
39ca2a2618 feat: add Workflow type 2024-06-05 06:34:46 +05:30
karishmas6
6774d74ccc feat: if valid rect, return rect properties 2024-06-05 06:32:45 +05:30
karishmas6
cf85b238f0 feat: retrieve bounding rectangle of element & store in rectangle 2024-06-05 06:31:58 +05:30
karishmas6
59f778a0c6 feat: check if parent el's tag name is a + use parent elt if true, otherwise uses the original element 2024-06-05 06:28:49 +05:30
karishmas6
074cc697b2 feat: check if element found @ coordinates 2024-06-05 06:27:17 +05:30
karishmas6
7d3bd22cd4 feat: find the HTML element at the specified coordinates + cast it to an HTMLElement type 2024-06-05 06:26:13 +05:30
karishmas6
bf861fad2b chore: lint 2024-06-05 04:36:22 +05:30
karishmas6
649de7e9f6 feat: update socket for client communictaion 2024-06-05 04:35:23 +05:30
karishmas6
b357172b39 feat: check if interepretation in progress 2024-06-05 04:35:02 +05:30
karishmas6
10678bb4ab feat: interpret recording as a run 2024-06-05 04:34:36 +05:30
karishmas6
2741f3fd16 feat: clear state after stopping interpretation 2024-06-05 04:33:52 +05:30