Target.attachToBrowserTargetAttaches to the browser target, only uses flat sessionId mode.
| Name | Type | Description |
|---|---|---|
sessionId | SessionID | Id assigned to the session. |
{
"id": 1,
"method": "Target.attachToBrowserTarget"
}
{
"id": 1,
"result": {
"sessionId": "SESSION_001"
}
}
const result = await send('Target.attachToBrowserTarget');
console.log(result);
// {"sessionId": "SESSION_001"}