Pointer & layout
Mouse and keyboard work, plus layouts that are hard to capture. Mouse moves need a visible page: if the browser window is covered or minimized, hover and drag are refused.
PTR-01HTML5 drag and drop
Drag the Moss card onto the Archive zone with page_drag.
ExpectPTR-01 dropped moss on archive.
PTR-02Pointer-event slider
No HTML5 drag here: the thumb follows pointermove. A drag from the thumb to the right end sets it near 100.
ExpectPTR-02 value=<n> with n above 90.
PTR-03Hover menu
Hover Products to open the menu, then click Lamps. The menu also opens on keyboard focus.
ExpectPTR-03 menu opened, then PTR-03 chose Lamps.
PTR-04Double and right click
Use page_click_with with click_count: 2, or button: right.
ExpectPTR-04 double click or PTR-04 context menu (the browser menu is suppressed).
PTR-05Keys
Focus the box and send keys or chords such as Control+a, Shift+Tab, Enter, ArrowDown.
ExpectEach key is logged as PTR-05 key=<key> mods=<ctrl/shift/alt/meta>.
PTR-06Virtual list
10,000 rows, but only the visible ones exist in the page. Scroll inside the list to reach row 5000.
ExpectObservation shows about 10 rows at a time; PTR-06 showing rows a–b follows scrolling.
PTR-07Wide table
Wider than the column on small screens; it scrolls sideways inside its own box, never the page.
ExpectAt phone width the page has no horizontal scroll; the table does.
| Station | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|---|
| North gate | 12 | 14 | 9 | 11 | 16 | 21 | 19 |
| River bank | 7 | 8 | 6 | 9 | 10 | 15 | 13 |
PTR-08Tall page and sticky bar
Below is a 3,200-pixel section with a sticky bar. Use page_full_screenshot for the whole page.
ExpectThe full screenshot shows the bar once at the top of the section and the end marker at the bottom, without repeated slices.
PTR-08 end marker