LaunchNewBrowser
GET
/devtool/launchLaunchNewBrowser
Request
launch config, url-encoded json string in query, see full schema in body params
custom args with kernel command line switches,for example: {"--proxy-bypass-list":"domain1,domain2", "--headless":"","--load-extension":"dir1,dir2"}
indicates autoclose browser after finished
indicates delete local userdata when browser closed if not a once profile
custom fingerprint
deviceMemory
disableImageLoading
DoNotTrack
fingerprint flags
fonts list,works on flags.fonts
== 'Custom'
geolocation,works on flags.localization
== 'Custom'
hardwareConcurrency
languages,works on flags.localization
== 'Custom'; localization.timezone works on flags.localization
== 'Custom'
indicates the last session should be restored on startup
screen,works on flags.screen
== 'Custom'
navigator.userAgent
webrtc ips,works on flags.webrtc
== 'Custom'
force start with latest kernel if no compatible kernel found
profile group id, invalid for once profile
an existing group name,prioritize using groupId if set, invalid for once profile
incognito mode
kernel type
kernelMilestone
profile name
profile note, invalid for once profile
once profile, true: auto delete userdata when browser closed; false: create a new profile
fingerprint os platform
profile proxy, higher priority than proxyGroupName
an existing proxy group name, invalid for once profile
[!experimental]
inheriting cookies from profileIds, currently accepts only one profileId
browser port
startup urls
indicates autoclose browser after specified seconds
{
"name": "testProfile",
"once": true,
"platform": "windows",
"kernel": "chromium",
"kernelMilestone": "128",
"proxy": "http://127.0.0.1:8000",
"fingerprint": {
"flags": {
"timezone": "BasedOnIp",
"screen": "Custom"
},
"screen": {
"width": 1000,
"height": 1000
},
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.85 Safari/537.36"
},
"args": {
"--proxy-bypass-list": "domain1,domain2",
"--load-extension": "extDir1,extDir2"
}
}
Request samples
Responses
{
"code": 0,
"data": {
"port": 0,
"profileId": "string",
"webSocketDebuggerUrl": "string"
},
"err": true,
"msg": "string"
}