Update prompt.md
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user