You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Filling large amount of text result in timeout #786
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.
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.
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.
page.keyboard.type() only works for the keyboard input and does not handle other types of input controls. It also does not check if the element is ready/able to receive input.
page.keyboard.type() times out as well in a test for me. The locator fill() uses page.keyboard.type() underneath so it makes sense. The reason is that each character is types one by one and that takes longer for larger texts.
Activity
OrKoN commentedon Jan 17, 2026
page.keyboard.type()only works for the keyboard input and does not handle other types of input controls. It also does not check if the element is ready/able to receive input.OrKoN commentedon Jan 17, 2026
page.keyboard.type()times out as well in a test for me. The locator fill() uses page.keyboard.type() underneath so it makes sense. The reason is that each character is types one by one and that takes longer for larger texts.fix: increase timeouts for long text input (#787)
fix: increase timeouts for long text input (#787)