Package io.appium.java_client
Interface LogsEvents
-
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
,AppiumDriver
,ChromiumDriver
,FlutterAndroidDriver
,FlutterIOSDriver
,GeckoDriver
,IOSDriver
,Mac2Driver
,SafariDriver
,WindowsDriver
public interface LogsEvents extends ExecutesMethod
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ServerEvents
getEvents()
Log a custom event on the Appium server.default void
logEvent(CustomEvent event)
Log a custom event on the Appium server.-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
Method Detail
-
logEvent
default void logEvent(CustomEvent event)
Log a custom event on the Appium server.- Parameters:
event
- the event to log- Throws:
org.openqa.selenium.WebDriverException
- if there was a failure while executing the script- Since:
- Appium 1.16
-
getEvents
default ServerEvents getEvents()
Log a custom event on the Appium server.- Returns:
- ServerEvents object wrapping up the various command and event timestamps
- Throws:
org.openqa.selenium.WebDriverException
- if there was a failure while executing the script- Since:
- Appium 1.16
-
-