We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e9bb3 commit 6074b73Copy full SHA for 6074b73
2 files changed
src/browser.ts
@@ -205,7 +205,6 @@ export async function launch(options: McpLaunchOptions): Promise<Browser> {
205
}
206
if (options.viewport) {
207
const [page] = await browser.pages();
208
- // @ts-expect-error internal API for now.
209
await page?.resize({
210
contentWidth: options.viewport.width,
211
contentHeight: options.viewport.height,
src/tools/pages.ts
@@ -213,7 +213,6 @@ export const resizePage = defineTool({
213
handler: async (request, response, context) => {
214
const page = context.getSelectedPage();
215
216
217
await page.resize({
218
contentWidth: request.params.width,
219
contentHeight: request.params.height,
0 commit comments