safari_wait_for_new_tab

MCP tool from Safari MCP by achiya-automation

Wait for a new tab (e.g. OAuth popup) and auto-switch to it

How to use it

Project documentation lists safari_wait_for_new_tab for the Safari MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Safari MCP

$npx safari-mcp
FULL SAFARI MCP LISTING

Other tools in Safari MCP (39)

safari_clear_field

Clear input field

safari_click

Click by CSS selector, visible text, or coordinates

safari_click_and_read

Click then return the updated page — saves a round-trip (React Router + full loads)

safari_click_and_wait

Click + wait for navigation

safari_close_tab

Close tab

safari_double_click

Double-click (select word, etc.)

safari_eval_file

Execute JavaScript read from a file path (avoids huge inline scripts)

safari_evaluate

Execute arbitrary JavaScript, return result

safari_fill

Fill input (React/Vue/Angular compatible)

safari_fill_and_submit

Fill form + submit in one call

safari_fill_form

Batch fill multiple fields

safari_get_element

Element details (tag, rect, attrs, visibility)

safari_get_source

Get full HTML source

safari_go_back

Go back in history

safari_go_forward

Go forward in history

safari_hover

Hover over element

safari_list_tabs

List all tabs (index, title, URL)

safari_navigate

Navigate to URL (auto HTTPS, wait for load)

safari_navigate_and_read

Navigate + read in one call

safari_new_tab

Open new tab (background, no focus steal)

safari_press_key

Press key with modifiers

safari_react_select_list_options

List a react-select v5 dropdown's options without opening it

safari_react_select_set

Set a react-select v5 value via React fiber — bypasses the menu UI

safari_read_page

Get title, URL, and text content

safari_reload

Reload page (optional hard reload)

safari_replace_editor

Replace all content in a code editor (Monaco, CodeMirror, Ace, ProseMirror)

safari_right_click

Right-click (context menu)

safari_save_pdf

Export page as PDF

safari_screenshot

Screenshot as PNG (viewport or full page)

safari_screenshot_element

Screenshot a specific element

safari_scroll

Scroll up/down by pixels

safari_scroll_to

Scroll to exact position

safari_scroll_to_element

Smooth scroll to element

safari_select_option

Select dropdown option

safari_switch_tab

Switch to tab by index

safari_type_text

Type real keystrokes (JS-based, no System Events)

safari_verify_state

Verify an editor's framework-level state matches expected — catch stale DOM before Submit

safari_wait

Wait for specified milliseconds

safari_wait_for

Wait for element, text, or URL change