Puppeteer 中文文档v25.8.0

ElementHandle.clickablePoint() 方法

除非提供了特定的偏移量,否则返回元素内的中点。

签名

class ElementHandle {
  clickablePoint(offset?: Offset): Promise<Point>;
}

参数

参数

类型

说明

offset

Offset

(可选)

返回值:

Promise<Point>