safari_wait_for
Wait for element, text, or URL change
How to use it
safari_wait_for is exposed by the Safari MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the safari_wait_for tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Safari MCP
npx safari-mcpOther tools in Safari MCP (39)
Clear input field
Click by CSS selector, visible text, or coordinates
Click then return the updated page — saves a round-trip (React Router + full loads)
Click + wait for navigation
Close tab
Double-click (select word, etc.)
Execute JavaScript read from a file path (avoids huge inline scripts)
Execute arbitrary JavaScript, return result
Fill input (React/Vue/Angular compatible)
Fill form + submit in one call
Batch fill multiple fields
Element details (tag, rect, attrs, visibility)
Get full HTML source
Go back in history
Go forward in history
Hover over element
List all tabs (index, title, URL)
Navigate to URL (auto HTTPS, wait for load)
Navigate + read in one call
Open new tab (background, no focus steal)
Press key with modifiers
List a react-select v5 dropdown's options without opening it
Set a react-select v5 value via React fiber — bypasses the menu UI
Get title, URL, and text content
Reload page (optional hard reload)
Replace all content in a code editor (Monaco, CodeMirror, Ace, ProseMirror)
Right-click (context menu)
Export page as PDF
Screenshot as PNG (viewport or full page)
Screenshot a specific element
Scroll up/down by pixels
Scroll to exact position
Smooth scroll to element
Select dropdown option
Switch to tab by index
Type real keystrokes (JS-based, no System Events)
Verify an editor's framework-level state matches expected — catch stale DOM before Submit
Wait for specified milliseconds
Wait for a new tab (e.g. OAuth popup) and auto-switch to it