Class Audits
- java.lang.Object
-
- org.openqa.selenium.devtools.audits.Audits
-
@Beta public class Audits extends java.lang.Object
Audits domain allows investigation of page violations and possible improvements.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Audits.GetEncodedResponseEncoding
static class
Audits.GetEncodedResponseResponse
-
Constructor Summary
Constructors Constructor Description Audits()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Command<Audits.GetEncodedResponseResponse>
getEncodedResponse(RequestId requestId, Audits.GetEncodedResponseEncoding encoding, java.util.Optional<java.lang.Number> quality, java.util.Optional<java.lang.Boolean> sizeOnly)
Returns the response body and size if it were re-encoded with the specified settings.
-
-
-
Method Detail
-
getEncodedResponse
public static Command<Audits.GetEncodedResponseResponse> getEncodedResponse(RequestId requestId, Audits.GetEncodedResponseEncoding encoding, java.util.Optional<java.lang.Number> quality, java.util.Optional<java.lang.Boolean> sizeOnly)
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
-
-