@wdio/types
Advanced tools
Comparing version 7.16.3 to 7.16.11
@@ -307,8 +307,59 @@ import { WebdriverIO as WebDriverIOOptions, Connection as ConnectionOptions } from './Options'; | ||
} | ||
/** | ||
* Appium General W3C Capabilities | ||
* | ||
* @see https://appium.io/docs/en/writing-running-appium/caps/ | ||
*/ | ||
export interface AppiumW3CCapabilities { | ||
/** | ||
* Which automation engine to use. | ||
* | ||
* Acceptable values: | ||
* + 'Appium' (default) | ||
* + 'UiAutomator2' for Android | ||
* + 'Espresso' for Android | ||
* + 'UiAutomator1' for Android | ||
* + 'XCUITest' or 'Instruments' for iOS | ||
* + 'YouiEngine' for application built with You.i Engine | ||
*/ | ||
'appium:automationName'?: string; | ||
/** | ||
* Which mobile OS platform to use. | ||
* | ||
* Acceptable values: | ||
* + 'iOS' | ||
* + 'Android' | ||
* + 'FirefoxOS' | ||
*/ | ||
'appium:platformName'?: string; | ||
/** | ||
* Expected mobile OS version, eg: '7.1', '4.4' etc. | ||
*/ | ||
'appium:platformVersion'?: string; | ||
/** | ||
* The kind of mobile device or emulator to use, for each platform, it accept different kind of values. | ||
* | ||
* ### For iOS, it could be: | ||
* | ||
* + Simulator name, eg: 'iPhone Simulator', 'iPad Simulator', 'iPhone Retina 4-inch'. | ||
* + Instruments name, which comes from 'instruments -s devices' command. | ||
* + xctrace device name, which comes from 'xcrun xctrace list devices' command. (since Xcode 12) | ||
* | ||
* ### For Android, this capability is currently ignored, though it remains required. | ||
* Note: This document is written with appium 1.22.1 release, this behavior may changed later. | ||
*/ | ||
'appium:deviceName'?: string; | ||
/** | ||
* The absolute local path or remote http URL to a .ipa file (IOS), .app folder (IOS Simulator), .apk file (Android) | ||
* or [.apks file (Android App Bundle)](https://appium.io/docs/en/writing-running-appium/android/android-appbundle/index.html), | ||
* or a .zip file containing one of these. | ||
* | ||
* Appium will attempt to install this app binary on the appropriate device first. | ||
* Note that this capability is not required for Android if you specify appPackage and appActivity capabilities. | ||
* UiAutomator2 and XCUITest allow to start the session without app or appPackage. | ||
*/ | ||
'appium:app'?: string; | ||
/** | ||
* The id of the app to be tested. eg: 'com.android.chrome'. | ||
*/ | ||
'appium:appPackage'?: string; | ||
@@ -319,2 +370,5 @@ 'appium:appWaitActivity'?: string; | ||
'appium:locale'?: string; | ||
/** | ||
* iOS Unique Device Identifier | ||
*/ | ||
'appium:udid'?: string; | ||
@@ -331,2 +385,7 @@ 'appium:orientation'?: string; | ||
} | ||
/** | ||
* Appium Android Only Capabilities | ||
* | ||
* @see https://appium.io/docs/en/writing-running-appium/caps/#android-only | ||
*/ | ||
export interface AppiumAndroidCapabilities { | ||
@@ -401,2 +460,7 @@ appiumVersion?: string; | ||
} | ||
/** | ||
* Appium iOS Only Capabilities | ||
* | ||
* @see https://appium.io/docs/en/writing-running-appium/caps/#ios-only | ||
*/ | ||
export interface AppiumIOSCapabilities { | ||
@@ -403,0 +467,0 @@ calendarFormat?: string; |
@@ -75,2 +75,23 @@ export interface Suite { | ||
} | ||
/** | ||
* Info on of a pick (step) | ||
*/ | ||
export interface PickleStep { | ||
/** | ||
* line number in the feature file | ||
*/ | ||
id: string; | ||
/** | ||
* text of the step | ||
*/ | ||
text: string; | ||
/** | ||
* Array of line numbers | ||
*/ | ||
astNodeIds: string[]; | ||
/** | ||
* 'Given|When|Then|And' followed by a space | ||
*/ | ||
keyword: string; | ||
} | ||
//# sourceMappingURL=Frameworks.d.ts.map |
{ | ||
"name": "@wdio/types", | ||
"version": "7.16.3", | ||
"version": "7.16.11", | ||
"description": "Utility package providing type information for a variety of WebdriverIO interfaces", | ||
@@ -35,3 +35,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "23e2af933060e829f03d7518089c377571c654e3" | ||
"gitHead": "7aa1d82a1590b47db444734dc86fae7bca1c777c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101475
1903