---
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
