Package io.appium.java_client
Interface CanRememberExtensionPresence
- All Known Subinterfaces:
AuthenticatesByFinger,CanReplaceElementValue,HasAndroidClipboard,HasAndroidDeviceDetails,HasAppStrings,HasClipboard,HasIOSClipboard,HasNetworkConnection,HasNotifications,HasOnScreenKeyboard,HasSupportedPerformanceDataType,HidesKeyboard,HidesKeyboardWithKeyName,InteractsWithApps,LocksDevice,PressesKey,PullsFiles,PushesFiles,ShakesDevice,StartsActivity,SupportsGpsStateManagement,SupportsNetworkStateManagement,SupportsSpecialEmulatorCommands
- All Known Implementing Classes:
AndroidDriver,AppiumDriver,ChromiumDriver,FlutterAndroidDriver,FlutterIOSDriver,GeckoDriver,IOSDriver,Mac2Driver,SafariDriver,WindowsDriver
public interface CanRememberExtensionPresence
-
Method Summary
Modifier and TypeMethodDescriptionassertExtensionExists(String extName) Verifies if the given extension is not present in the list of absent extensions for the given driver instance.markExtensionAbsence(String extName) Marks the given extension as absent for the given driver instance.
-
Method Details
-
assertExtensionExists
Verifies if the given extension is not present in the list of absent extensions for the given driver instance. This API is designed for private usage.- Parameters:
extName- extension name.- Returns:
- self instance for chaining.
- Throws:
org.openqa.selenium.UnsupportedCommandException- if the extension is listed in the list of absents.
-
markExtensionAbsence
Marks the given extension as absent for the given driver instance. This API is designed for private usage.- Parameters:
extName- extension name.- Returns:
- self instance for chaining.
-