Commit bb425c2
committed
fix: Puppeteer grabAttributeFrom and XPath click issues
- Remove jsonValue() call in grabAttributeFromAll (Puppeteer 24.x returns values directly)
- Fix XPath selector to work with all matcher types (Page/Frame/ElementHandle)
- Use try/catch for ::-p-xpath() selector with fallback for ElementHandles1 parent 3a61c6f commit bb425c2
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2082 | 2082 | | |
2083 | 2083 | | |
2084 | 2084 | | |
2085 | | - | |
| 2085 | + | |
2086 | 2086 | | |
2087 | 2087 | | |
2088 | 2088 | | |
| |||
2887 | 2887 | | |
2888 | 2888 | | |
2889 | 2889 | | |
2890 | | - | |
2891 | | - | |
2892 | | - | |
2893 | | - | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
2894 | 2893 | | |
2895 | | - | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
2896 | 2900 | | |
2897 | 2901 | | |
2898 | 2902 | | |
| |||
0 commit comments