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

20 lines
265 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: Page.isJavaScriptEnabled
---
# Page.isJavaScriptEnabled() method
`true` if the page has JavaScript enabled, `false` otherwise.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Page {
abstract isJavaScriptEnabled(): boolean;
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
boolean