Skip to main content
Version: 23.8.0

ElementHandle.isVisible() 方法

¥ElementHandle.isVisible() method

如果以下所有条件都为真,则认为元素是可见的:

¥An element is considered to be visible if all of the following is true:

签名

¥Signature

class ElementHandle {
isVisible(): Promise<boolean>;
}

Returns:

Promise<boolean>