puppeteer/new-docs/puppeteer.page.isjavascriptenabled.md
Jack Franklin b86ff21b64
feat(api): add Page.isJavaScriptEnabled + mark properties as private (#5993)
Just one was used externally and I wrapped that up in a method. I think
it's a useful method to provide (I can imagine wanting to know if JS is
enabled on a page) so I think there's no harm here (I'd rather that then
have JSHandle reach into a private variable).
2020-06-10 16:15:02 +01:00

16 lines
384 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [isJavaScriptEnabled](./puppeteer.page.isjavascriptenabled.md)
## Page.isJavaScriptEnabled() method
<b>Signature:</b>
```typescript
isJavaScriptEnabled(): boolean;
```
<b>Returns:</b>
boolean