chromeflow 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/tools/browser.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/tools/browser.js
CHANGED
|
@@ -75,7 +75,8 @@ Use these exact x/y values in highlight_region.` }]
|
|
|
75
75
|
"execute_script",
|
|
76
76
|
`Execute JavaScript in the current page's context and return the result as a string.
|
|
77
77
|
Use this to read framework state, check DOM properties, or interact with page APIs that aren't reachable via text.
|
|
78
|
-
Prefer get_page_text for reading visible content. Use this for programmatic DOM queries (e.g. checking an element's attribute, reading a value not visible in text)
|
|
78
|
+
Prefer get_page_text for reading visible content. Use this for programmatic DOM queries (e.g. checking an element's attribute, reading a value not visible in text).
|
|
79
|
+
NOTE: Pages with strict Content Security Policy (e.g. Stripe, GitHub) will block eval and return a CSP error \u2014 do not retry, use get_page_text or fill_input instead.`,
|
|
79
80
|
{
|
|
80
81
|
code: z.string().describe(
|
|
81
82
|
`JavaScript expression to evaluate in the page (e.g. 'document.title', 'document.querySelector(".price")?.textContent')`
|
package/package.json
CHANGED