You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Appium] No plugins have been installed. Use the "appium plugin"command to install the one(s) you want to use.
103
97
```
104
98
105
-
To run mobile test you need either an device emulator (available with Android SDK or iOS), real device connected for mobile testing. Alternatively, you may execute Appium with device emulator inside Docker container.
99
+
** Note: ** Appium v2 doesn't use the same base path as Appium v1, hence if you want to use the same base path you should pass `--base-path=/wd/hub` when launching the Appium server.
100
+
101
+
To run mobile test you need either a device emulator (available with Android SDK or iOS) or real device connected for mobile testing. Alternatively, you may execute Appium with device emulator inside Docker container.
106
102
107
103
CodeceptJS should be installed with webdriverio support:
108
104
@@ -135,7 +131,7 @@ You will also be asked for the platform and the application package.
135
131
```
136
132
137
133
Check the newly created `codecept.conf.js` configuration file.
138
-
You may want to set some additional Appium settings via [desiredCapabilities](https://appium.io/docs/en/writing-running-appium/caps/)
134
+
You may want to set some additional Appium settings via [desiredCapabilities](https://appium.io/docs/en/2.1/guides/caps/)
139
135
140
136
```js
141
137
helpers: {
@@ -147,7 +143,7 @@ helpers: {
147
143
}
148
144
```
149
145
150
-
Once you configured Appium, create the first test by running
146
+
Once you configured Appium, create the first test by running:
151
147
152
148
```sh
153
149
npx codeceptjs gt
@@ -219,7 +215,7 @@ To start writing a test it is important to understand how to locate elements for
219
215
In both Android and iPhone elements are defined in XML format and can be searched by XPath locators.
> Despite showing XPath in this guide we **do not recommend using XPath for testing iOS native apps. XPath runs very slow on iOS. Consider using ID or Accessibility ID locators instead.
Native iOS/Android locators can be used with `android=` and `ios=` prefixes. [Learn more](https://webdriver.io/guide/usage/selectors.html#Mobile-Selectors).
260
256
261
-
But how to get all those locators? We recommend to use [Appium Inspector](https://github.com/appium/appium-desktop).
257
+
But how to get all those locators? We recommend to use [Appium Inspector](https://github.com/appium/appium-inspector).
262
258
263
-
For Android you can use **UI Automator Viewer** bundled with Android SDK:
259
+
For Android, you can use **UI Automator Viewer** bundled with Android SDK:
* It supports all browser methods and also includes special methods for mobile apps testing.
27
27
* You can use this helper to test Web on desktop and mobile devices and mobile apps.
28
28
*
@@ -31,7 +31,7 @@ const vendorPrefix = {
31
31
* Appium is an open source test automation framework for use with native, hybrid and mobile web apps that implements the WebDriver protocol.
32
32
* It allows you to run Selenium tests on mobile devices and also test native, hybrid and mobile web apps.
33
33
*
34
-
* Download and install [Appium](http://appium.io/)
34
+
* Download and install [Appium](https://appium.io/docs/en/2.1/)
35
35
*
36
36
* ```sh
37
37
* npm install -g appium
@@ -43,7 +43,7 @@ const vendorPrefix = {
43
43
*
44
44
* This helper should be configured in codecept.conf.ts or codecept.conf.js
45
45
*
46
-
* * `appiumV2`: set this to true if you want to run tests with Appiumv2. See more how to setup [here](https://codecept.io/mobile/#setting-up)
46
+
* * `appiumV2`: set this to true if you want to run tests with AppiumV2. See more how to setup [here](https://codecept.io/mobile/#setting-up)
47
47
* * `app`: Application path. Local path or remote URL to an .ipa or .apk file, or a .zip containing one of these. Alias to desiredCapabilities.appPackage
48
48
* * `host`: (default: 'localhost') Appium host
49
49
* * `port`: (default: '4723') Appium port
@@ -117,7 +117,7 @@ const vendorPrefix = {
117
117
* }
118
118
* ```
119
119
*
120
-
* Example Android App using Appiumv2 on BrowserStack:
120
+
* Example Android App using AppiumV2 on BrowserStack:
121
121
*
122
122
* ```js
123
123
* {
@@ -154,7 +154,7 @@ const vendorPrefix = {
154
154
* }
155
155
* ```
156
156
*
157
-
* Additional configuration params can be used from <https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md>
157
+
* Additional configuration params can be used from <https://github.com/appium/appium/blob/master/packages/appium/docs/en/guides/caps.md>
0 commit comments