📸 ScreenshotsMCP

browser_wait_for

Wait for an element to appear on the page, then return a screenshot.

Parameters

ParameterTypeRequiredDefaultDescription
sessionIdstringYesSession ID from browser_navigate
selectorstringYesCSS selector to wait for
timeoutnumberNo5000Max wait time in ms (500–15000)

Example

Wait for the loading spinner to disappear and the results to appear

Notes

  • Useful after form submissions, page transitions, or AJAX requests
  • Returns a screenshot once the element appears (or after timeout)
  • Combine with browser_click for multi-step interactions

On this page