Skip to main content
POST
Record a step and check that the page shows what you expect

Authorizations

Authorization
string
header
required

Your Styne API key: Authorization: Bearer $STYNE_API_KEY.

Path Parameters

id
string
required

Body

application/json

Name the step and what must be true on the page after it.

name
string

What the step did; required, up to 200 characters.

verify
object

One or more of url_matches, selector_exists, text_contains, js_expr, cookie; required.

action_ref
string

Your own reference for the action, such as a task or call id.

timeout
integer

Seconds to wait for the checks to hold; 1 to 45, default 10.

Response

Success. The answer is described on https://docs.styne.ai/browsers.