macacajs/macaca-wd

Name: macaca-wd

Owner: Macaca

Description: wd.js - Node.js WebDriver Client for Macaca

Created: 2016-04-24 03:02:05.0

Updated: 2018-05-24 11:48:19.0

Pushed: 2018-05-24 11:48:17.0

Homepage: https://macacajs.github.io/macaca-wd/

Size: 891

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Macaca WD Client

Gitter Chat NPM version build status node version

Macaca WD Client is inspired by admc/wd, according to W3C WebDriver Spec.

Installation
m i macaca-wd --save-dev
Documentation
Usage
wd = require('macaca-wd');

remoteConfig = {
st: 'localhost',
rt: 3456


driver = wd.promiseChainRemote(remoteConfig);

re(function() {
turn driver.init({
platformName: 'desktop', // iOS, Android, Desktop
browserName: 'chrome'    // Chrome, Electron
app: path/to/app         // Only for mobile
;


r(function() {
turn driver
.sleep(1000)
.quit();


#1 should', function() {

.




Mixin Helper
rt wd from 'macaca-wd';
rt {
tendsMixIn,
om 'macaca-wd/lib/helper'

ndsMixIn(wd)

see more about helper

Extend WD chain
rt wd from 'macaca-wd';

ddPromiseChainMethod(name, method);

API

Demo

Macaca Getting Started

Contributors

|
xudafeng

|
ziczhu

|
meowtec

|
jsw0528

|
zhangyuheng

|
tsj1107

| :—: | :—: | :—: | :—: | :—: | :—: | |
kobe990

|
zhuyali

This project follows the git-contributor spec, auto upated at Sat Apr 21 2018 17:47:42 GMT+0800.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.