Update prompt.md

This commit is contained in:
Tommy D. Rossi
2025-11-16 15:04:55 +01:00
parent 83025d7783
commit 6713725132
+2
View File
@@ -59,6 +59,8 @@ Then you can use `page.locator(`aria-ref=${ref}`)` to get an element with a spec
`const componentsLink = page.locator('aria-ref=e14').click()` `const componentsLink = page.locator('aria-ref=e14').click()`
IMPORTANT: notice that we do not add any quotes in `aria-ref`! it MUST be called without quotes
## getting outputs of code execution ## getting outputs of code execution
You can use `console.log` to print values you want to see in the tool call result. For seeing logs across runs you can store then in `state.logs` and then print them later, filtering and paginating them too. You can use `console.log` to print values you want to see in the tool call result. For seeing logs across runs you can store then in `state.logs` and then print them later, filtering and paginating them too.