Class BiDi
java.lang.Object
org.openqa.selenium.bidi.BiDi
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionBiDi(Connection connection) Deprecated, for removal: This API element is subject to removal in a future version.BiDi(Connection connection, Duration timeout) -
Method Summary
Modifier and TypeMethodDescription<X> longaddListener(String browsingContextId, Event<X> event, Consumer<X> handler) <X> longaddListener(Set<String> browsingContextIds, Event<X> event, Consumer<X> handler) <X> longaddListener(Event<X> event, Consumer<X> handler) <X> voidclearListener(Set<String> browsingContextIds, Event<X> event) <X> voidclearListener(Event<X> event) voidvoidclose()voidvoidremoveListener(long id) <X> X<X> X
-
Constructor Details
-
BiDi
Deprecated, for removal: This API element is subject to removal in a future version.Use constructor with timeout parameter:BiDi(Connection, Duration) -
BiDi
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
disconnectSession
public void disconnectSession() -
send
-
send
-
addListener
-
addListener
-
addListener
-
clearListener
-
clearListener
-
removeListener
public void removeListener(long id) -
clearListeners
public void clearListeners() -
getBidiSessionStatus
-
BiDi(Connection, Duration)