Append browser step
curl --request POST \
--url http://127.0.0.1:4100/api/sessions/{id}/browser-steps \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '{}'import requests
url = "http://127.0.0.1:4100/api/sessions/{id}/browser-steps"
payload = {}
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://127.0.0.1:4100/api/sessions/{id}/browser-steps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"order": 123,
"source": "api",
"request": {
"method": "<string>",
"path": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"body": "<unknown>"
},
"mutations": [
{}
],
"reads": [
{}
],
"assertions": [
{}
],
"ignoreRules": [
{}
],
"browser": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Sessions
Append browser step
Capture a browser UI action into the live Record session (recorder only).
POST
/
sessions
/
{id}
/
browser-steps
Append browser step
curl --request POST \
--url http://127.0.0.1:4100/api/sessions/{id}/browser-steps \
--header 'Content-Type: application/json' \
--header 'x-alibi-api-key: <api-key>' \
--data '{}'import requests
url = "http://127.0.0.1:4100/api/sessions/{id}/browser-steps"
payload = {}
headers = {
"x-alibi-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-alibi-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('http://127.0.0.1:4100/api/sessions/{id}/browser-steps', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"order": 123,
"source": "api",
"request": {
"method": "<string>",
"path": "<string>",
"headers": {},
"body": "<unknown>"
},
"response": {
"status": 123,
"body": "<unknown>"
},
"mutations": [
{}
],
"reads": [
{}
],
"assertions": [
{}
],
"ignoreRules": [
{}
],
"browser": {}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
ApiKeyAuthBearerAuth
Body
application/json