Skip to content

Instantly share code, notes, and snippets.

@mgrybyk
mgrybyk / copy-packages.js
Last active September 10, 2019 14:06
copy wdio packages
/**
* Copies webdriverio packages
*
* 1. Create file in `webdriverio` project root folder and run it;
* 2. Specify path to your working project;
* 3. Run script `node copy-packages.js`
*/
const path = require('path')
const fse = require('fs-extra')
@mgrybyk
mgrybyk / compare.js
Last active June 6, 2019 23:22
compare webdriver.json and jsonwp.json
/* eslint-disable no-console */
const request = require('request')
const appiumJson = require('../packages/webdriver/protocol/appium.json')
const jsonwpJson = require('../packages/webdriver/protocol/jsonwp.json')
const mjsonwpJson = require('../packages/webdriver/protocol/mjsonwp.json')
const webdriverJson = require('../packages/webdriver/protocol/webdriver.json')
const url = 'https://raw.githubusercontent.com/appium/appium-base-driver/master/lib/protocol/routes.js'
let errors = 0