Package org.openqa.selenium.bidi
Class BiDi
java.lang.Object
org.openqa.selenium.bidi.BiDi
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<X> long
addListener
(String browsingContextId, Event<X> event, Consumer<X> handler) <X> long
addListener
(Set<String> browsingContextIds, Event<X> event, Consumer<X> handler) <X> long
addListener
(Event<X> event, Consumer<X> handler) <X> void
clearListener
(Event<X> event) void
void
close()
void
void
removeListener
(long id) <X> X
-
Constructor Details
-
BiDi
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
disconnectSession
public void disconnectSession() -
send
-
addListener
-
addListener
-
addListener
-
clearListener
-
removeListener
public void removeListener(long id) -
clearListeners
public void clearListeners() -
getBidiSessionStatus
-