๐งช Browser Interaction Test Page
This page provides various elements to test all browser interaction types.
๐ Form Inputs (type, press_key)
๐ฑ๏ธ Click Testing (click)
๐ Hover Testing (hover)
๐ฏ Mouse Coordinates (mouse_move, mouse_click)
Move mouse or click the red dot
โฑ๏ธ Wait Testing (wait)
๐ Scroll Testing (scroll_to, scroll_by, scroll_into_view)
This page has both window scrolling and element-specific scrollable containers.
Scrollable Container #1
Container 1: This is a scrollable div with lots of content...
Scroll down to see more content. You can use:
scroll_bywithselector: "#scroll-container-1"andy: 100scroll_towithselector: "#scroll-container-1"andy: 500
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
Line 12
Line 13
Line 14
Line 15
๐ฏ You've reached the end!
Scrollable Container #2
Container 2: Another scrollable container...
This one can be scrolled independently from Container #1.
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
Line 11
Line 12
๐ End of container 2
Tip: When you try to scroll without a selector (window scroll), the system will detect and report all scrollable areas on the page!
๐ก Selector Suggestions Testing (:has-text fallback)
This section tests the "Did you mean?" feature when selectors fail.
Test case: Try clicking button:has-text('Submit')
There's no <button> element with "Submit" text, but there are other elements:
Expected behavior:
- โ
button:has-text('Submit')fails (no visible button) - ๐ก Shows "Did you mean?" with actual alternatives:
a.btn.primary:has-text('Submit')โdiv.btn-submit.action:has-text('Submit')โspan.link-submit:has-text('Submit')โbutton[type=submit]:has-text('Submit')โ (hidden)
Working selectors to test:
a:has-text('Submit')- finds the linkdiv[role="button"]:has-text('Submit')- finds the div:has-text('Submit')- finds first match (the link)
๐ฌ Dialog Testing (alert, confirm, prompt)
Test browser dialogs. Usebrowser_handle_dialog to auto-respond before clicking.
Usage Example:
// Set up auto-response
browser_handle_dialog(accept=true, text="John Doe")
// Then click the button
browser_interact(actions=[{type: "click", selector: "#prompt-btn"}])๐ Console Logging Testing (browser_console_messages)
Test console logging with various message types and formats.
Note: Check the browser console or use browser_console_messages to see the logged messages.
๐ผ๏ธ Iframe Testing (iframe in modal)
Test iframe behavior by opening this page inside a modal iframe.
Note: The modal covers the whole page with 50px margins and contains an iframe with this same test page.
๐ Network Request Testing (browser_network_requests)
Test the network monitoring capabilities of Blueprint MCP.
๐ฏ Drag and Drop Testing (browser_drag)
Drag items from the left box to the right box.
Draggable Items
Drop Zone
Drag items here
๐ Event Log
โฌ๏ธ Page Content Section 1
This section makes the entire page scrollable. Try scrolling the window without a selector:
scroll_bywithy: 500(no selector)scroll_towithy: 1000(no selector)
โฌ๏ธ Page Content Section 2
More content down here to make the page vertically scrollable...
โฌ๏ธ Page Content Section 3
Even more content at the bottom of the page...
Blueprint MCP