Skip to content

Commit 4773b2b

Browse files
committed
fix prettier format
1 parent f7ef243 commit 4773b2b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/tool-reference.md

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

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

289-
290289
---
291290

292291
### `list_console_messages`

tests/McpResponse.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ uid=1_0 RootWebArea ""
7373
await withBrowser(async (response, context) => {
7474
const page = context.getSelectedPage();
7575
await page.setContent(
76-
html`<label>username<input name="username" value="mcp" /></label>`,
76+
html`<label
77+
>username<input
78+
name="username"
79+
value="mcp"
80+
/></label>`,
7781
);
7882
await page.focus('input');
7983
response.setIncludeSnapshot(true);

0 commit comments

Comments
 (0)