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

384 B

Home > puppeteer > Page > isJavaScriptEnabled

Page.isJavaScriptEnabled() method

Signature:

isJavaScriptEnabled(): boolean;

Returns:

boolean