Skip to content

docs(cli): explain scrolling with mousewheel in the skill - #43008

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
simonether:docs-cli-skill-scroll
Sep 30, 2026
Merged

Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
simonether:docs-cli-skill-scroll

Conversation

@simonether

Copy link
Copy Markdown
Contributor

Fixes #42989

The skill lists mousewheel 0 100 but never says that it scrolls, what the arguments mean, or that the wheel goes to the element under the pointer. This adds two comment lines and a scroll-up example to the Mouse section.

Checked with @playwright/cli 0.1.22 on Chromium: mousewheel 0 -200 scrolls the page up, and with the pointer over a fixed overflow: auto box the same command scrolls the box and leaves the page alone.

Selector support in drag from the issue is already covered by the "Targeting elements" section, so I left it out.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [chrome] › mcp/evaluate.spec.ts:79 › browser_evaluate expression @mcp-macos-latest-chrome

8845 passed, 1489 skipped


Merge workflow run.

@dgozman Dmitry Gozman (dgozman) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you for the PR.

@dgozman
Dmitry Gozman (dgozman) merged commit 8547218 into microsoft:main Sep 30, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CLI]: SKILL.md never mentions scrolling; document mousewheel as the scroll command and drag selector support

2 participants