Package org.openqa.selenium.bidi.module
Class BrowsingContextInspector
java.lang.Object
org.openqa.selenium.bidi.module.BrowsingContextInspector
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionBrowsingContextInspector
(String browsingContextId, WebDriver driver) BrowsingContextInspector
(Set<String> browsingContextIds, WebDriver driver) BrowsingContextInspector
(WebDriver driver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onBrowsingContextCreated
(Consumer<BrowsingContextInfo> consumer) void
void
onBrowsingContextLoaded
(Consumer<NavigationInfo> consumer) void
onDomContentLoaded
(Consumer<NavigationInfo> consumer) void
onFragmentNavigated
(Consumer<NavigationInfo> consumer) void
onNavigationStarted
(Consumer<NavigationInfo> consumer) void
onUserPromptClosed
(Consumer<UserPromptClosed> consumer) void
onUserPromptOpened
(Consumer<UserPromptOpened> consumer)
-
Constructor Details
-
BrowsingContextInspector
-
BrowsingContextInspector
-
BrowsingContextInspector
-
-
Method Details
-
onBrowsingContextCreated
-
onBrowsingContextDestroyed
-
onDomContentLoaded
-
onBrowsingContextLoaded
-
onUserPromptClosed
-
onUserPromptOpened
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-