puppeteer/website/versioned_docs/version-19.7.0/api/puppeteer.page.isjavascriptenabled.md

20 lines
256 B
Markdown
Raw Normal View History

---
sidebar_label: Page.isJavaScriptEnabled
---
# Page.isJavaScriptEnabled() method
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class Page {
isJavaScriptEnabled(): boolean;
}
```
**Returns:**
boolean
`true` if the page has JavaScript enabled, `false` otherwise.