| 程序包 | 说明 |
|---|---|
| com.ruiyun.jvppeteer.api.core | |
| com.ruiyun.jvppeteer.cdp.entities |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
ElementHandle.screenshot(ElementScreenshotOptions options)
如果需要,此方法将元素滚动到视图中,然后使用 Page.screenshot() 截取元素的屏幕截图。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ElementScreenshotOptions |
ElementScreenshotOptions.setScrollIntoView(boolean scrollIntoView) |
Copyright © 2020–2025. All rights reserved.