Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions desktop-app/e2e/fixtures/pages/mcp-scroll.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MCP Scroll Test</title>
<style>
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: sans-serif;
}
section {
height: 1200px;
}
#nested {
height: 180px;
overflow: auto;
scroll-behavior: smooth;
}
#nested-spacer {
height: 600px;
}
#footer {
height: 400px;
background: #aabbcc;
}
</style>
</head>
<body>
<section>
<h1>Scroll test</h1>
<p>Repeated label</p>
<p>Repeated label</p>
<p hidden>Hidden target</p>
</section>
<section>
<h2 id="pricing">Pricing <span>plans</span></h2>
<div id="nested">
<div id="nested-spacer"></div>
<p id="nested-target">Nested target</p>
</div>
</section>
<footer id="footer">Footer details</footer>
</body>
</html>
3 changes: 3 additions & 0 deletions desktop-app/e2e/tests/mcp-bridge-stdio.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ const EXPECTED_TOOLS = [
'navigate',
'read_page',
'screenshot',
'scroll_to',
'set_active_devices',
'set_device_options',
'set_mirroring',
'type_text',
];

Expand Down
Loading
Loading