Skip to content

Commit 6074b73

Browse files
committed
chore: fix
1 parent a5e9bb3 commit 6074b73

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/browser.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
205205
}
206206
if (options.viewport) {
207207
const [page] = await browser.pages();
208-
// @ts-expect-error internal API for now.
209208
await page?.resize({
210209
contentWidth: options.viewport.width,
211210
contentHeight: options.viewport.height,

src/tools/pages.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,6 @@ export const resizePage = defineTool({
213213
handler: async (request, response, context) => {
214214
const page = context.getSelectedPage();
215215

216-
// @ts-expect-error internal API for now.
217216
await page.resize({
218217
contentWidth: request.params.width,
219218
contentHeight: request.params.height,

0 commit comments

Comments
 (0)