puppeteer/docs/api/puppeteer.page.isjavascriptenabled.md
2023-11-09 13:57:33 +01:00

20 lines
265 B
Markdown

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