Please update to the latest patch version to use it.
GET /api/v2/browser-profile/active
Description: To check the startup status of the browser, you need to specify the profile ID or profile No.
‼️One of the following parameters must be filled in.
Name | Tyep | Necessary | Default | Example | Description |
---|---|---|---|---|---|
profile_id | text | NO | - | h1yynkm | Unique profile ID, generated after creating the profile. |
profile_no | text | NO | - | 123 | Check by profile No. Priority will be given to profile id when profile id has been passed. |
//Operation succeeded
{
"code":0,
"msg":"success",
"data":{
"status": "Active", // profile has been opend "Active" ,if not "Inactive"
"ws":{
"selenium":"127.0.0.1:xxxx", //Browser debug interface,can be used for selenium automation
"puppeteer":"ws://127.0.0.1:xxxx/devtools/browser/xxxxxx" //Browser debug interface,can be used for puppeteer automation
},
"debug_port":"xxxxx",
"webdriver":"xxxxxxx"
}
}
//Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}