Class EventBreakpoints


  • @Beta
    public class EventBreakpoints
    extends java.lang.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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> removeInstrumentationBreakpoint​(java.lang.String eventName)
      Removes breakpoint on particular native event.
      static org.openqa.selenium.devtools.Command<java.lang.Void> setInstrumentationBreakpoint​(java.lang.String eventName)
      Sets breakpoint on particular native event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventBreakpoints

        public EventBreakpoints()
    • Method Detail

      • setInstrumentationBreakpoint

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

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