Class Connection
java.lang.Object
org.openqa.selenium.bidi.Connection
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<X> voidaddListener(String subscriptionId, Event<X> event, Consumer<X> handler) <X> voidclearListener(Event<X> event) voidvoidclose()<X> booleanisEventSubscribed(Event<X> event) booleanisSubscribed(String id) voidremoveListener(String id) <X> CompletableFuture<@Nullable X> <X> XsendAndWait(Command<X> command, Duration timeout)
-
Constructor Details
-
Connection
-
-
Method Details
-
send
-
sendAndWait
-
addListener
-
clearListener
-
removeListener
-
isSubscribed
-
isEventSubscribed
-
clearListeners
public void clearListeners() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-