Python
import os from skylight_sdk import Skylight with Skylight( apikey=os.getenv("SKYLIGHT_APIKEY", ""), ) as skylight: res = skylight.interact.scroll(instance_id="<id>", x=100, y=200, step=20) # Handle response print(res)
{ "message": "<string>", "status": "<string>" }
Scroll at the specified coordinates
Requires API key authentication.
API key authentication
Horizontal scroll amount
Vertical scroll amount
Optional step size for scroll movements. If not provided, movement will be continuous.
1 <= x <= 100
Successfully performed scroll
Status of the operation
"success"
Human-readable status message