← Back to Network domain
Network.fetchSchemefulSite
Fetches the schemeful site for a specific origin.
Domain: Network
experimental
Parameters
| Name | Type | Description |
origin | string | The URL origin. |
Returns
| Name | Type | Description |
schemefulSite | string | The corresponding schemeful site. |
Example Request
{
"id": 1,
"method": "Network.fetchSchemefulSite",
"params": {
"origin": "origin-value"
}
}
Example Response
{
"id": 1,
"result": {
"schemefulSite": "schemefulSite-value"
}
}
Usage in Node.js
const result = await send('Network.fetchSchemefulSite', {"origin": "origin-value"});
console.log(result);
// {"schemefulSite": "schemefulSite-value"}