fix: increase timeouts for long text input#787
Conversation
|
@OrKoN thanks for the quick fix. I tried your patch but still getting timed out, after 10 seconds this time instead of 5. |
|
@kth8 I think the agent is not quite right here because the locator.fill() ends up in keyboard.type:
We also do not want a 60 sec timeout as it is too long if there are other issues not related to typing. Perhaps we should just have a different tool like Are you sure you correctly re-built and used the server from this branch? can you reproduce the timeout by running the tests from this PR on your machine? can you try adding a test that would demonstrate the timeout? I wonder if there is some dependency on the page content? |
|
Thanks for testing! I think we will land this next week (maybe increasing timeouts linearly according to the input length, instead of per block of 1k chars). But I think I will also look into fixing the fill() method in Puppeteer to switch to pasting the entire text at once for large texts. |
fea3706 to
0f930be
Compare
0f930be to
3fec51f
Compare
🤖 I have created a release *beep* *boop* --- ## [0.14.0](chrome-devtools-mcp-v0.13.0...chrome-devtools-mcp-v0.14.0) (2026-01-27) ### 🎉 Features * add a skill for using chrome-devtools-mcp ([#830](#830)) ([aa0a367](aa0a367)) * add background parameter to new_page tool ([#837](#837)) ([d756888](d756888)) * allow skipping snapshot generation for input tools ([#821](#821)) ([4b8e9f2](4b8e9f2)) * include stack trace in 'get_console_message' tool ([#740](#740)) ([a3a0021](a3a0021)) * support device viewport and user agent emulation ([#798](#798)) ([a816967](a816967)) * support filePath for network request and response bodies ([#795](#795)) ([6d0e4ca](6d0e4ca)) ### 🛠️ Fixes * handle beforeunload dialogs in navigations ([#788](#788)) ([9b21f8b](9b21f8b)) * improve error handling for console messages ([#844](#844)) ([dc43ede](dc43ede)) * improve error reporting when retrieving the element ([#845](#845)) ([f7dd003](f7dd003)) * improve performance tool description ([#800](#800)) ([aa9a176](aa9a176)) * increase timeouts for long text input ([#787](#787)) ([a83a338](a83a338)) * make request and response handling more robust ([#846](#846)) ([695817f](695817f)) * re-use node ids across snapshots ([#814](#814)) ([a6cd2cd](a6cd2cd)) ### 📄 Documentation * add a mention of evals into contributing.md ([#773](#773)) ([9a31ac7](9a31ac7)) * document how to add extensions to gemini-cli ([#834](#834)) ([0610d11](0610d11)) * update auto-connect docs ([#779](#779)) ([a106fba](a106fba)) * Update README.md to include a link to Android debugging ([#783](#783)) ([6e52e66](6e52e66)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).



Fixes #786