Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kunlun

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kunlun - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

8

lib/clt/fixture/env.js

@@ -26,2 +26,10 @@ var Config = require('config');

return appiumDriver.init(Config.capabilities).then(function() {
// feed back selenium session ID to parent process (Magellan)
if (process.send) {
process.send({
type: 'selenium-session-info',
sessionId: appiumDriver.sessionID
});
}
// update Sauce dashboard status - job name

@@ -28,0 +36,0 @@ sauceAccount.updateJob(appiumDriver.sessionID, {

8

lib/clt/fixture/README.md

@@ -19,4 +19,6 @@ # Your Project Name

```bash
npm install appium-doctor
./node_modules//.bin/appium-doctor.js
# install appium-doctor
$ npm install appium-doctor -g
# check that all iOS dependencies are set up correctly
$ appium-doctor --ios
```

@@ -32,3 +34,3 @@

```bash
node ./node_modules/appium/bin/appium.js
./node_modules/.bin/appium
```

@@ -35,0 +37,0 @@

exports.AppiumDriver = require('./kunlun');
exports.version = '0.2.5';
exports.version = '0.2.6';
{
"name": "kunlun",
"version": "0.2.5",
"version": "0.2.6",
"author": "Chaoyi Chen, Lillian Wang",

@@ -42,3 +42,3 @@ "description": "Enhanced Appium JS Client",

"grunt-contrib-jshint": "^1.0.0",
"grunt-jscs": "^3.0.0"
"grunt-jscs": "^3.0.1"
},

@@ -45,0 +45,0 @@ "bugs": {

@@ -52,42 +52,44 @@ ## Kunlun

#### `waitTillAvailable(selector, by)`
* #### `waitTillAvailable(selector, by)`
Wait until specific element is displayed
#### `waitTillNotAvailable(selector, by)`
* #### `waitTillNotAvailable(selector, by)`
Wait until specific element is NOT displayed
#### `typeSpecialKey(key)`
Send special key as defined in https://github.com/admc/wd/blob/master/lib/special-keys.js
e.g. `driver.typeSpecialKey('Return');`
* #### `typeSpecialKey(key)`
Send special key as defined in https://github.com/admc/wd/blob/master/lib/special-keys.js
e.g.: `driver.typeSpecialKey('Return');`
#### `clickEl(selector, by)`
* #### `clickEl(selector, by)`
Click on selected element after waiting for it to be displayed
#### `typeEl(selector, by)`
* #### `typeEl(selector, by)`
Type text in selected element after waiting for it to be displayed
#### `getEls(selector, by)`
* #### `getEls(selector, by)`
Search for multiple elements after waiting for any of them to be displayed
#### `getEl(selector, by)`
* #### `getEl(selector, by)`
Search for element after waiting for any of them to be displayed
#### `hasEl(selector, by)`
* #### `hasEl(selector, by)`
Check if an element exists
#### `getElAttribute(attr, selector, by)`
* #### `getElAttribute(attr, selector, by)`
Get the value of an element's attribute after waiting for it to be displayed
#### `bindModule(module)`
* #### `bindModule(module)`
Bind functions from customized page object modules to AppiumDriver object
#### `resetModules()`
* #### `resetModules()`
Clean up customized page object modules functions
#### `goBack()`
* #### `goBack()`
Click on built-in Back button
#### `cancelLastMove()`
* #### `cancelLastMove()`
Click on built-in Cancel button
* #### Plus, all the APIs as listed in [WD](https://github.com/admc/wd/blob/master/doc/api.md)
---

@@ -94,0 +96,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc