v1

latestOpenAPI 3.1.02026-07-133988103.2 KB
windows

Load url

Loads a specified url on a given window

post/v1/sessions/{sessionId}/windows/{windowId}

Path parameters

sessionIdstring required

ID of the session that owns the window.

windowIdstring required

Airtop window ID of the browser window.

Headers

Authorizationstring required

Bearer authentication

Request body

urlstring uri required

Url to navigate to

waitUntil'load' | 'domContentLoaded' | 'complete' | 'noWait'

Wait until the specified loading event occurs. Defaults to 'load', which waits until the page dom and it's assets have loaded. 'domContentLoaded' will wait until the dom has loaded, 'complete' will wait until the page and all it's iframes have loaded it's dom and assets. 'noWait' will not wait for any loading event and will return immediately.

waitUntilTimeoutSecondsinteger

Maximum time in seconds to wait for the specified loading event to occur. If the timeout is reached, the operation will still succeed but return a warning indicating the page may still be loading resources.

Response

OK