Skip to main content
Version: 23.8.0

Page.isJavaScriptEnabled() 方法

¥Page.isJavaScriptEnabled() method

如果页面启用了 JavaScript,则为 true,否则为 false

¥true if the page has JavaScript enabled, false otherwise.

签名

¥Signature

class Page {
abstract isJavaScriptEnabled(): boolean;
}

Returns:

boolean