Giter Club home page Giter Club logo

webdriver.io's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webdriver.io's Issues

Hexo issues

The command: hexo generate is not recognized by the hexo cli. Which version of hexo are you using?

Disable Chrome clipboard popup/notification WebdriverIO

I'm trying to disable the chrome clipboard popup/notification using webdriverIO (Selenium) for automation. I tried setting chrome options/preferences but still it doesn't disable it. I want to click a web element that is behind this popup, so I don't want this popup to appear in automation. I tried disabling the clipboard settings manually but selenium opens a new session every time which refreshes the settings. Also, it is not possible to inspect using developer tools. It is not an alert so accepting/dismissing alert does not work either.

browser.alertAccept();

or
browser.alertDismiss();

chromeOptions: {
    args: [
        'disable-infobars',
        'disable-popup-blocking',
        'disable-notifications'
    ],
    prefs: {
        'profile.default_content_settings.popups' : 2,
        'profile.default_content_settings.notifications' : 2,
    }
}

Please help me with this issue, any help would be really appreciated.
chromeclipboardissue

Versions iโ€™m using:
Chrome Browser: 66.0.3359.117
Node: 8.9.4
npm: 5.8.0
chrome driver: 2.38

generating documentation for webdriverio 2.x

I'm having problems generating webdriverio docs for branch v2.5.0 . For latest versions instructions do work well but for 2.x webdriver.io branch they don't work. According to [email protected] , the command npm run build should do it but is failing at "hexo generate" . It seems in latest versions of hexo it won't work. Unfortunately I'm not a hexo user and don't have much time but I really appreciate having this old version docs available.

FYI, these are more or less the actions I'm doing:

  1. git clone https://github.com/webdriverio/webdriver.io.git
  2. git checkout branchs/v2.5.0
  3. perform the actions documented in the README

Could you please point me to existing compiled documentation or tell me which versions of the dependencies (hexo) should I use ?

A suggestion for older versions it would be very useful to create a tag/branch with the compiled /public folder in the commit. It would be very very helpful for users like me that are tight to a old webdriverio version and need the docs.

Thanks

Place a call to action on the website

It is hard to find out where to get started on the website. After reading/scanning some of the introduction and finding out:

This is for me!

So when I was looking for a place to get started, I was confused. Only after writing this issue I scrolled up and down to notice that you have to scroll up the entire website to find the Developer Guide.

Thanks in advance.

Environment version

Hi, I am unable to build project, having various issues with node-gyp, could you please specify exact versions for all requirements?

  • node.js
  • npm
  • node-gyp
  • hexo (3.4.0 - there is an mismatch between hexo version specified in the dependencies.hexo and hexo.verson
  • ...

Thank you!

Handle selenium error

Hi:

Is there a way to handle the selenium error? For example, I want to try to select an option via selectByText, specifically to confirm that it's not present.

Thanks!

Search is broken

Error message in console:

TypeError: docsearch is not a function

started to occur without any changes/deployments on the website

cc @vvo

I can't use javascript commands like indexOf(); or includes();

/eslint new-cap:0/
/*global browser */
/*eslint -env es6 */

module.exports = function() {

this.Given(/^i am on "([^"]*)"$/, function (site, next) {
browser.url(site).then(function () {
next();
}).catch(function (err) {
next(err);
});
});

this.Then(/^i shouldn't see asp links$/, function (callback) {
var source = browser.getSource();
if (source.includes(".asp")) {
var x = source.includes(".asp");
x.should.equal(false);

} else {
    callback();
}

});
};

HERE'S THE OUTPUT

[firefox #0-0] 1 passing (0s)
[firefox #0-0] 1 failing
[firefox #0-0]
[firefox #0-0] 1) Test for cdn and asp links6 i shouldn't see asp links:
[firefox #0-0] source.includes is not a function
[firefox #0-0] TypeError: source.includes is not a function
[firefox #0-0] at World. (/home/justin/cucumberjs/linkTest/features/step-definitions/linkTest.steps.js:17:16)
[firefox #0-0] at World.executeAsync (/home/justin/cucumberjs/linkTest/node_modules/wdio-sync/build/index.js:835:21)
[firefox #0-0] at World. (/home/justin/cucumberjs/linkTest/node_modules/wdio-cucumber-framework/build/adapter.js:376:37)
[firefox #0-0] at _combinedTickCallback (internal/process/next_tick.js:73:7)
[firefox #0-0] at process._tickDomainCallback (internal/process/next_tick.js:128:9)
[firefox #0-0]

Example typo

These example typos can be deadly for someone who doesn't know JS/Selenium much:

http://webdriver.io/guide/usage/transferpromises.html

.click('button=Send')
.isVisible('#status_message').then(isVisible) {
  assert.ok(isVisible, 'status message is not visible');
})

Missing opening parentheses before isVisible in thens callback.

Unable to run the website

I followed all the steps in the README but I am getting a weird error.

> hexo wdio getDocs
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: Cannot read property 'async' of undefined
    at Hexo.callee$0$0 (/home/vvo/Dev/Algolia/webdriver.io/node_modules/hexo-wdio-generator/build/index.js:34:31)
    at Hexo.tryCatcher (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/method.js:15:34)
    at /home/vvo/Dev/Algolia/webdriver.io/node_modules/hexo/lib/hexo/index.js:192:9
    at Promise._execute (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/debuggability.js:272:9)
    at Promise._resolveFromExecutor (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/promise.js:475:18)
    at new Promise (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/promise.js:77:14)
    at Hexo.call (/home/vvo/Dev/Algolia/webdriver.io/node_modules/hexo/lib/hexo/index.js:188:10)
    at /home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/lib/hexo.js:63:17
    at tryCatcher (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:504:31)
    at Promise._settlePromise (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:561:18)
    at Promise._settlePromise0 (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:606:10)
    at Promise._settlePromises (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:685:18)
    at Async._drainQueue (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/async.js:138:16)
    at Async._drainQueues (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/async.js:148:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/async.js:17:14)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
FATAL Cannot read property 'async' of undefined
TypeError: Cannot read property 'async' of undefined
    at Hexo.callee$0$0 (/home/vvo/Dev/Algolia/webdriver.io/node_modules/hexo-wdio-generator/build/index.js:34:31)
    at Hexo.tryCatcher (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/util.js:16:23)
    at Hexo.<anonymous> (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/method.js:15:34)
    at /home/vvo/Dev/Algolia/webdriver.io/node_modules/hexo/lib/hexo/index.js:192:9
    at Promise._execute (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/debuggability.js:272:9)
    at Promise._resolveFromExecutor (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/promise.js:475:18)
    at new Promise (/home/vvo/Dev/Algolia/webdriver.io/node_modules/bluebird/js/release/promise.js:77:14)
    at Hexo.call (/home/vvo/Dev/Algolia/webdriver.io/node_modules/hexo/lib/hexo/index.js:188:10)
    at /home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/lib/hexo.js:63:17
    at tryCatcher (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:504:31)
    at Promise._settlePromise (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:561:18)
    at Promise._settlePromise0 (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:606:10)
    at Promise._settlePromises (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/promise.js:685:18)
    at Async._drainQueue (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/async.js:138:16)
    at Async._drainQueues (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/async.js:148:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/vvo/.nvm/versions/node/v6.2.2/lib/node_modules/hexo-cli/node_modules/bluebird/js/release/async.js:17:14)
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)

i got an error, and the lodash is right here, i do not know how to do..

Error: Cannot find module 'lodash._isnative'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/apple/Desktop/node server/fex-webdrivercss/node_modules/webdriverio/node_modules/archiver/node_modules/zip-stream/node_modules/lodash.defaults/node_modules/lodash.keys/index.js:9:16)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.