java.lang.Object
org.openqa.selenium.devtools.v85.audits.Audits

@Beta public class Audits extends Object
Audits domain allows investigation of page violations and possible improvements.
  • Constructor Details

    • Audits

      public Audits()
  • Method Details

    • getEncodedResponse

      public static org.openqa.selenium.devtools.Command<Audits.GetEncodedResponseResponse> getEncodedResponse(RequestId requestId, Audits.GetEncodedResponseEncoding encoding, Optional<Number> quality, Optional<Boolean> sizeOnly)
      Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
      Disables issues domain, prevents further issues from being reported to the client.
    • enable

      public static org.openqa.selenium.devtools.Command<Void> enable()
      Enables issues domain, sends the issues collected so far to the client by means of the `issueAdded` event.
    • issueAdded

      public static org.openqa.selenium.devtools.Event<InspectorIssue> issueAdded()