Class EventBreakpoints

java.lang.Object
org.openqa.selenium.devtools.v119.eventbreakpoints.EventBreakpoints

@Beta public class EventBreakpoints extends Object
EventBreakpoints permits setting breakpoints on particular operations and events in targets that run JavaScript but do not have a DOM. JavaScript execution will stop on these operations as if there was a regular breakpoint set.
  • Constructor Details

    • EventBreakpoints

      public EventBreakpoints()
  • Method Details

    • setInstrumentationBreakpoint

      public static org.openqa.selenium.devtools.Command<Void> setInstrumentationBreakpoint(String eventName)
      Sets breakpoint on particular native event.
    • removeInstrumentationBreakpoint

      public static org.openqa.selenium.devtools.Command<Void> removeInstrumentationBreakpoint(String eventName)
      Removes breakpoint on particular native event.