Check if page is password protected
page.isPasswordProtected()
Check if the page is password protected.
Syntax
Returns
Promise<boolean
>
A promise that resolves to a boolean value indicating whether the page is password protected.