๐Ÿงช Browser Interaction Test Page

This page provides various elements to test all browser interaction types.

๐Ÿ“ Form Inputs (type, press_key)


๐Ÿ–ฑ๏ธ Click Testing (click)

Click Me #1
Click Me #2
Click Me #3

๐ŸŽ‰ You found the hidden element!

๐Ÿ‘† Hover Testing (hover)

Hover over me to change my appearance

๐ŸŽฏ Mouse Coordinates (mouse_move, mouse_click)

X: 0, Y: 0

Move mouse or click the red dot

โฑ๏ธ Wait Testing (wait)

โฐ This element appeared after a delay!

๐Ÿ“œ 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_by with selector: "#scroll-container-1" and y: 100
  • scroll_to with selector: "#scroll-container-1" and y: 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:

Submit Form
Submit Now
Submit Here

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 link
  • div[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.

Click buttons above to trigger network requests

๐ŸŽฏ Drag and Drop Testing (browser_drag)

Drag items from the left box to the right box.

Draggable Items

Item 1
Item 2
Item 3

Drop Zone

Drag items here

๐Ÿ“‹ Event Log

Event log ready...

โฌ‡๏ธ Page Content Section 1

This section makes the entire page scrollable. Try scrolling the window without a selector:

  • scroll_by with y: 500 (no selector)
  • scroll_to with y: 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...