puppeteer/docs/api/puppeteer.frame.name.md

24 lines
329 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Frame.name
---
# Frame.name() method
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Frame {
name(): string;
}
```
**Returns:**
string
The frame's `name` attribute as specified in the tag.
2022-07-05 13:41:43 +00:00
## Remarks
This value is calculated once when the frame is created, and will not update if the attribute is changed later.