puppeteer/new-docs/puppeteer.protocol.page.frame.domainandregistry.md

14 lines
713 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Page](./puppeteer.protocol.page.md) &gt; [Frame](./puppeteer.protocol.page.frame.md) &gt; [domainAndRegistry](./puppeteer.protocol.page.frame.domainandregistry.md)
## Protocol.Page.Frame.domainAndRegistry property
Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -<!-- -->&gt; "google.com" http://a.b.co.uk/file.html -<!-- -->&gt; "b.co.uk"
<b>Signature:</b>
```typescript
domainAndRegistry: string;
```