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

20 lines
255 B
Markdown
Raw Normal View History

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