This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * 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') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* 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 |
NewerOlder