admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

Update document options for flick endpoint #571

Closed khanhdodang closed 5 years ago

khanhdodang commented 5 years ago

Hi @jlipps I update the document within the PR https://github.com/appium/appium-uiautomator2-server/pull/235. Can you please help me review this PR.

khanhdodang commented 5 years ago

Hi @jlipps ,

I see CI has errors as below, but I don't know how to fix this CI. I need your help.

8.98s$ npm ci 
> sauce-connect-launcher@1.2.4 postinstall /home/travis/build/admc/wd/node_modules/sauce-connect-launcher
> node scripts/install.js || nodejs scripts/install.js
> phantomjs-prebuilt@2.1.16 install /home/travis/build/admc/wd/node_modules/phantomjs-prebuilt
> node install.js
Considering PhantomJS found at /usr/local/phantomjs/bin/phantomjs
Found PhantomJS at /usr/local/phantomjs/bin/phantomjs ...verifying
Writing location.js file
PhantomJS is already installed on PATH at /usr/local/phantomjs/bin/phantomjs
> wd@1.11.1 install /home/travis/build/admc/wd
> node scripts/build-browser-scripts
added 606 packages in 8.655s
0.28s$ node_modules/.bin/gulp travis --config $CONFIG --sauce
internal/util/inspect.js:31
const types = internalBinding('types');
              ^
ReferenceError: internalBinding is not defined
    at internal/util/inspect.js:31:15
    at req_ (/home/travis/build/admc/wd/node_modules/natives/index.js:137:5)
    at require (/home/travis/build/admc/wd/node_modules/natives/index.js:110:12)
    at util.js:25:21
    at req_ (/home/travis/build/admc/wd/node_modules/natives/index.js:137:5)
    at require (/home/travis/build/admc/wd/node_modules/natives/index.js:110:12)
    at fs.js:42:21
    at req_ (/home/travis/build/admc/wd/node_modules/natives/index.js:137:5)
    at Object.req [as require] (/home/travis/build/admc/wd/node_modules/natives/index.js:54:10)
    at Object.<anonymous> (/home/travis/build/admc/wd/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:99)
The command "node_modules/.bin/gulp travis --config $CONFIG --sauce" exited with 1.
admc commented 5 years ago

Greetings and thanks for your contribution. It appears a problem between node and gulp has been introduced, ive tried upgrading to gulp 4 which has a breaking change and requires that we do some work to upgrade our gulpfile. I'll try to figure out what to do here in the next couple days.