chore: lint
This commit is contained in:
@@ -904,9 +904,7 @@ def register_interaction_tools(mcp: FastMCP) -> None:
|
||||
return result
|
||||
|
||||
try:
|
||||
scroll_result = await bridge.scroll(
|
||||
target_tab, direction=direction, amount=amount, selector=selector
|
||||
)
|
||||
scroll_result = await bridge.scroll(target_tab, direction=direction, amount=amount, selector=selector)
|
||||
log_tool_call(
|
||||
"browser_scroll",
|
||||
params,
|
||||
|
||||
@@ -201,9 +201,7 @@ class TestComplexScriptExecution:
|
||||
"""Test LinkedIn-style infinite feed scrolling with lazy loading."""
|
||||
scroll_calls = []
|
||||
|
||||
async def mock_scroll(
|
||||
tab_id: int, direction: str, amount: int = 500, selector: str | None = None
|
||||
) -> dict:
|
||||
async def mock_scroll(tab_id: int, direction: str, amount: int = 500, selector: str | None = None) -> dict:
|
||||
scroll_calls.append((tab_id, direction, amount))
|
||||
return {"ok": True}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user