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

20 lines
255 B
Markdown
Raw Normal View History

2022-07-01 11:52:39 +00:00
---
sidebar_label: Page.isJavaScriptEnabled
---
# Page.isJavaScriptEnabled() method
**Signature:**
```typescript
class Page {
isJavaScriptEnabled(): boolean;
}
```
**Returns:**
boolean
`true` if the page has JavaScript enabled, `false` otherwise.