Action Execution Scroll

Scroll a verified interface container by a bounded amount and verify the resulting viewport state.

SamoTech Updated

File contents

Scroll

Description

Scroll a verified interface container by a bounded amount and verify the resulting viewport state.

When to Use

  • Execute an explicitly approved action.
  • Use when the target and scope can be verified.
  • Verify the resulting state when the action is consequential.

Inputs / outputs / failure modes

Input Output Failure mode
Target and action Execution result Invalid target
Scope/authorization Allowed action Unauthorized action
Timeout/bounds Controlled execution Resource exhaustion
Postcondition Verified state Silent failure

Runnable Example

def scroll_verified(page, pixels=600):
    if not 1 <= pixels <= 2000: raise ValueError("out of bounds")
    page.mouse.wheel(0, pixels)
    print("scroll completed")

Failure modes

Wrong container; unbounded loop; assumed viewport change; bypassing authorization.

Related

  • mouse-input.md
  • screen-reading.md
  • assertion.md

Evidence

  • AI_CONSTITUTION.md
  • AGENTS.md
  • Repository security and validation workflows

SamoTech/skills-tree commit b409e07e86

Frequently asked questions

npx get-skill add samotech/action-execution-scroll