Class EventBreakpoints

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

@Beta public class EventBreakpoints extends Object
EventBreakpoints permits setting JavaScript breakpoints on operations and events occurring in native code invoked from JavaScript. Once breakpoint is hit, it is reported through Debugger domain, similarly to regular breakpoints being hit.
  • 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.
    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
      Removes all breakpoints