puppeteer/docs/api/puppeteer.page.isjavascriptenabled.md

20 lines
256 B
Markdown

---
sidebar_label: Page.isJavaScriptEnabled
---
# Page.isJavaScriptEnabled() method
`true` if the page has JavaScript enabled, `false` otherwise.
#### Signature:
```typescript
class Page {
isJavaScriptEnabled(): boolean;
}
```
**Returns:**
boolean