Get Profiles › Fetch login profiles
Get Profiles
Fetch login profiles Fetch login profiles
curl -- request GET \
-- url "https://api.lambdatest.com/screenshots/v1/profiles" \
-- header "Authorization: Basic <encoded-value>"
{
"profiles" : [
{
"name" : "lambda-login" ,
"profile_config" : {
"credentials" : {
"password" : "password" ,
"username" : "name"
} ,
"locators" : {
"password" : {
"type" : "name" ,
"value" : "password"
} ,
"submit" : {
"type" : "css" ,
"value" : "button.btn-lg"
} ,
"username" : {
"type" : "name" ,
"value" : "email"
}
} ,
"login_url" : "https://accounts.lambdatest.com/login" ,
"profile_name" : "lambda-login"
}
}
]
}
Authorizations Authorization string header required
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Response 200▼
application/json successful operation
profiles object[]
▶ Hide child attributesprofiles. name string
Example: "lambda-login"
profiles. profile_config object
▶ Show child attributes
curl -- request GET \
-- url "https://api.lambdatest.com/screenshots/v1/profiles" \
-- header "Authorization: Basic <encoded-value>"
{
"profiles" : [
{
"name" : "lambda-login" ,
"profile_config" : {
"credentials" : {
"password" : "password" ,
"username" : "name"
} ,
"locators" : {
"password" : {
"type" : "name" ,
"value" : "password"
} ,
"submit" : {
"type" : "css" ,
"value" : "button.btn-lg"
} ,
"username" : {
"type" : "name" ,
"value" : "email"
}
} ,
"login_url" : "https://accounts.lambdatest.com/login" ,
"profile_name" : "lambda-login"
}
}
]
}