| Package | Description |
|---|---|
| com.microsoft.playwright |
| Modifier and Type | Method and Description |
|---|---|
ElementHandle.ScreenshotOptions |
ElementHandle.ScreenshotOptions.setOmitBackground(boolean omitBackground) |
ElementHandle.ScreenshotOptions |
ElementHandle.ScreenshotOptions.setPath(Path path) |
ElementHandle.ScreenshotOptions |
ElementHandle.ScreenshotOptions.setQuality(int quality) |
ElementHandle.ScreenshotOptions |
ElementHandle.ScreenshotOptions.setTimeout(double timeout) |
ElementHandle.ScreenshotOptions |
ElementHandle.ScreenshotOptions.setType(ScreenshotType type) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ElementHandle.screenshot(ElementHandle.ScreenshotOptions options)
Returns the buffer with the captured screenshot.
|
Copyright © 2021. All rights reserved.