Package org.openqa.selenium.bidi.module
Class LogInspector
java.lang.Object
org.openqa.selenium.bidi.module.LogInspector
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionLogInspector(String browsingContextId, org.openqa.selenium.WebDriver driver) LogInspector(Set<String> browsingContextIds, org.openqa.selenium.WebDriver driver) LogInspector(org.openqa.selenium.WebDriver driver) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longonConsoleEntry(Consumer<ConsoleLogEntry> consumer) voidonConsoleEntry(Consumer<ConsoleLogEntry> consumer, FilterBy filter) voidonGenericLog(Consumer<GenericLogEntry> consumer) voidonGenericLog(Consumer<GenericLogEntry> consumer, FilterBy filter) longonJavaScriptException(Consumer<JavascriptLogEntry> consumer) voidonJavaScriptLog(Consumer<JavascriptLogEntry> consumer) voidonJavaScriptLog(Consumer<JavascriptLogEntry> consumer, FilterBy filter) voidvoid
-
Constructor Details
-
LogInspector
public LogInspector(org.openqa.selenium.WebDriver driver) -
LogInspector
-
LogInspector
-
-
Method Details
-
onConsoleEntry
-
onConsoleEntry
-
onJavaScriptLog
-
onJavaScriptLog
-
onJavaScriptException
-
onGenericLog
-
onGenericLog
-
onLog
-
onLog
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-