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
wait_for: ability to wait for multiple optional texts (any of them might match) #916
Is your feature request related to a problem? Please describe.
I see chrome-devtools-mcp use wait_for quite a lot, and often in good ways. However, one area it struggles is for long-running processes that might either succeed or fail; it will then wait_for "Complete" but the actual message might be "Error". I've seen this drive the wait time up (e.g. devtools MCP will assume it's not done and wait another 300 seconds for a process it thinks might be long-running, but has failed after a second already).
Describe the solution you'd like
Allow wait_for to wait for any term of a provided list, so that devtools mcp can e.g. wait for "Complete" or "Failed".
Describe alternatives you've considered
Alternative is very long wait times until it timeouts, and then devtools MCP figures out "oh, actually it failed" after 300s or so.
changed the title [-]wait_for should be able to wait for multiple optional texts (any of them might match)[/-][+]`wait_for`: ability to wait for multiple optional texts (any of them might match)[/+]on Feb 8, 2026
Activity
[-]wait_for should be able to wait for multiple optional texts (any of them might match)[/-][+]`wait_for`: ability to wait for multiple optional texts (any of them might match)[/+]OrKoN commentedon Feb 9, 2026
I think it's a good idea.
fix: support any-match text arrays in wait_for
ashutoshpw commentedon Feb 21, 2026
@OrKoN added a PR for this at #1011
fix: support any-match text arrays in wait_for
fix: support any-match text arrays in wait_for
feat: support any-match text arrays in wait_for (#1011)
feat: support any-match text arrays in wait_for (ChromeDevTools#1011)