mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
b86ff21b64
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).
16 lines
384 B
Markdown
16 lines
384 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [isJavaScriptEnabled](./puppeteer.page.isjavascriptenabled.md)
|
|
|
|
## Page.isJavaScriptEnabled() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
isJavaScriptEnabled(): boolean;
|
|
```
|
|
<b>Returns:</b>
|
|
|
|
boolean
|
|
|