Skip to content

Commit c23e3c7

Browse files
committed
format
1 parent 7ae38f8 commit c23e3c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/tool-reference.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,16 @@ so returned values have to JSON-serializable.
281281

282282
- **args** (array) _(optional)_: An optional list of arguments to pass to the function.
283283
- **function** (string) **(required)**: A JavaScript function to run in the currently selected page.
284-
Example without arguments: `() => {
284+
Example without arguments: `() => {
285285
return document.title
286286
}` or `async () => {
287287
return await fetch("example.com")
288288
}`.
289-
Example with arguments: `(el) => {
289+
Example with arguments: `(el) => {
290290
return el.innerText;
291291
}`
292292

293+
293294
---
294295

295296
### `list_console_messages`

tests/tools/snapshot.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ describe('snapshot', () => {
9696
});
9797
});
9898

99-
10099
it('should work with iframe content', async () => {
101100
await withBrowser(async (response, context) => {
102101
const page = await context.getSelectedPage();

0 commit comments

Comments
 (0)