puppeteer/docs/api/puppeteer.page.isjavascriptenabled.md

256 B

sidebar_label
Page.isJavaScriptEnabled

Page.isJavaScriptEnabled() method

true if the page has JavaScript enabled, false otherwise.

Signature:

class Page {
  isJavaScriptEnabled(): boolean;
}

Returns:

boolean