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).
384 B
384 B
Home > puppeteer > Page > isJavaScriptEnabled
Page.isJavaScriptEnabled() method
Signature:
isJavaScriptEnabled(): boolean;
Returns:
boolean