Skip to content

Filling large amount of text result in timeout #786

@kth8

Description

@kth8

Description of the bug

While using this MCP server with my agent, I noticed the fill tool would frequently timeout after 5000ms when typing in large amounts of text.
img
Naturally I asked my agent to implement a workaround. After some trial and error it seems like replacing handle.asLocator().fill with page.keyboard.type() in src/tools/input.ts worked.
!img
Is this something the maintainers would be willing to look at and perhaps implement a more robust solution for than what I could came up with? I can provide more details if needed.

Reproduction

Type a long paragraph using fill

Expectation

Fully type the text without timing out

MCP configuration

No response

Chrome DevTools MCP version

0.13.0

Chrome version

143.0.7499.192

Coding agent version

opencode 1.1.25

Model version

No response

Chat log

No response

Node version

v22.22.0

Operating system

Linux

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions