appium-helios-driver
Version:
Appium bridge to AppiumForHelios
68 lines (48 loc) • 1.25 kB
Markdown
Appium Helios Driver
===================
Appium Helios Driver is a test automation tool for Helios apps
## Installation
```
npm install appium-helios-driver
```
## Usage
Import Helios Driver, set [desired capabilities](https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md) and create a session:
```
import { HeliosDriver } from `appium-helios-driver`
let defaultCaps = {
platformName: 'Helios'
};
let driver = new HeliosDriver();
await driver.createSession(defaultCaps);
```
## Watch code for changes, re-transpile and run unit tests:
```
npm run test
```
## Test
You can run unit and e2e tests:
```
// unit tests:
npm run test
// e2e tests
npm run e2e-test
```
## Go server piece (temporary?)
In order for the driver to talk to a running moneymobilex app, we need to run
the go server.
```
$ cd go-server
$ go build
$ go run *.go
```
After launching an app, navigate to `http://localhost:4666` and you should see
your device there. Grab your device's id (or mac address) and use it to create
a session with appium (as a capability).
The following capabilities will talk to the Helios driver correctly.
**Capabilities**
```
{
"platformName": "Helios",
"uuid": "a4%3A5e%3A60%3Ac9%3A2e%3Ac7"
}
```