LaunchExistBrowser
GET
/devtool/launch/{profileId}Last modified:Â 2 months ago
Connect to or launch an existing browser
Request
Path Params
profileId
stringÂ
required
ProfileId
Query Params
config
stringÂ
optional
launch config, url-encoded json string in query, see full schema in body params
Body Params application/json
autoClose
booleanÂ
optional
indicates autoclose browser after finished
clearCacheOnClose
booleanÂ
optional
indicates delete local userdata when browser closed if not a once profile
forceUseLatestKernel
booleanÂ
optional
force start with latest kernel if no compatible kernel found
Example:
true
headless
booleanÂ
optional
headless
incognito
booleanÂ
optional
incognito mode
profileId
stringÂ
optional
profileId for launch existing profile, not working on once profile
remoteDebuggingPort
integerÂ
optional
browser port
startupUrls
array[string]
optional
startup urls
timedCloseSec
integerÂ
optional
indicates autoclose browser after specified seconds
Example:
30
args
objectÂ
required
custom args with kernel command line switches,for example: {"--proxy-bypass-list":"domain1,domain2", "--headless":""}
Example
{
"autoClose": true,
"clearCacheOnClose": true,
"forceUseLatestKernel": true,
"headless": true,
"incognito": true,
"profileId": "string",
"remoteDebuggingPort": 0,
"startupUrls": [
"string"
],
"timedCloseSec": 30,
"args": {}
}
Request samples
Responses
OK(200)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: 2 months ago