by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:25
    christian-bromann commented #5610
  • 12:25

    christian-bromann on master

    Fix issue #5585 (#5610) (compare)

  • 12:25
    christian-bromann closed #5610
  • 12:25
    christian-bromann labeled #5610
  • 12:23
    christian-bromann synchronize #5477
  • 12:23

    christian-bromann on cb-network-scope

    revert unknown change remove network scope and move c… (compare)

  • 11:46
    lfdebrux commented #5610
  • 11:40
    lfdebrux commented #5610
  • 11:10
    lfdebrux synchronize #5610
  • 11:00
    christian-bromann synchronize #5477
  • 11:00

    christian-bromann on cb-network-scope

    set headless option for Edge pr… attach Puppeteer also for Edge … (compare)

  • 09:48
    codecov[bot] commented #3708
  • 09:48
    codecov[bot] commented #3148
  • 09:48
    codecov[bot] commented #5040
  • 09:48
    jsf-clabot commented #5620
  • 09:42
    kthulsidoss commented #5622
  • 09:40
    HananArgov commented #5524
  • 09:38
    christian-bromann synchronize #5477
  • 09:38

    christian-bromann on cb-network-scope

    be clear about (non) FF support (compare)

  • 09:35
    HananArgov commented #5524
Conrad Muan
@conradmuan
Does anybody know if webdriverio can do basic auth? Some of my test environments are behind http basic auth (can't help it, company thing). I tried something like client.url('http://' + encodeURIComponent(username) + ':' + encodeURIComponent(password) + '@' + url); but getting no results
Tony Keith
@onewithhammer
I use this method all the time. What error you getting?
Conrad Muan
@conradmuan
well it looks like it works if capabilities are chrome or ff. But I don't think it's getting authenticated in phantomjs
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
Hi everyone! Good day! Does anyone know if the 'running scenarios in parallel to reduce run time' (webdriverio/webdriverio#205) can be achieved in any framework supported way?
(i'm using WDIO + cucumber)
Christian Bromann
@christian-bromann
@slawomir-brzezinski-at-travcorp just define multiple capabilities in your conf file
currently it is unfortunatelly one process per capability. In future it will be one process per capability per test spec
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
@christian-bromann Thanks! Any guess on when this would be possible? Meanwhile, Is there a way to assign each capability a different set of specs (even a dirty way?)
(but ideally not so dirty that it require to break the source of specs manually :) )
perhaps, 5 capabilities each assigned index 0-4, each executing only testSpec which testSpecIndex % x = 0
:D
Dan Dascalescu
@dandv
webdriver-sync has a really nice syntax - https://github.com/jsdevel/webdriver-sync#in-favor-of-this. How close can WebdriverIO get to sync? Is there an example somewhere?
Christian Bromann
@christian-bromann
@slawomir-brzezinski-at-travcorp not yet unfortunatelly .. dirty way would be to fork the project and hack a temporary solution
currently I am not able to spend much time doing open source but this will change in 2 weeks, there is a lot of stuff to catch up with
@dandv I was experimenting with fibers to get sync in webdriverio .. got it working for protocol commands but not for nested commands, definitelly something I wanna add to webdriverio
but this is kinda possible already today using yield
e.g.
expect(yield browser.getTitle()).to.be.equal(“something”);
Dan Dascalescu
@dandv
Thanks. And last question for today: what's the easiest way to get started with WebdriverIO and Cucumber? Still https://github.com/webdriverio/cucumber-boilerplate?
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
@christian-bromann Thanks. I did consider forking. If I embarked on that quest, a noob node.js, or specifically npm question: how easy is it for the wdio package to come from my fork in my project? Is it a matter of changing one url?
Christian Bromann
@christian-bromann
I would use the wdio test runner and maybe port all these snippets over
@dandv ^^^
cucumber-boilerplate is still a good start though
@slawomir-brzezinski-at-travcorp in your package.json just grab your fork
”webdriverio”: "slawomir-brzezinski-at-travcorp/webdriverio”
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
awesome
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
another noob node/npm question. Everywhere I see people running 'wdio wdio.conf.js' but I get ''wdio' is not recognized as an internal or external command'. Is it because everyone installs wdio globally?
asd
I need to have the thing self contained, so I don't want it to pollute the machine globally. The only thing I have global is node. Keeping that in mind, is doing 'node_modules.bin\wdio wdio.conf.js' is the easiest way to run?
Christian Bromann
@christian-bromann
right .. but you can also call it like ./node_modules/.bin/wdio wdio.conf.js
yeah
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
ah, ok, I just came up with that myself, so needed to make sure I'm doing the right thing
thanks
Bitcollage
@SerkanSipahi
I believe the documentation for "http://www.webdriver.io/api.html" is changed !
We use webdriverio 2.4.5
our commands look like this js browser.click(element, function(err) { //.... })
but now i see every call has a then after every call..
what is changed from v2 to v3?
any changelog there?
well, is documentation changed?
from V2 to V3?
csoete
@csoete
Its promise based instead of callback based.
But for most parts you can do both I think.
Bitcollage
@SerkanSipahi
ok thanks
we want to move to v3
is v3 callback based, too?
Bitcollage
@SerkanSipahi
@csoete thank you ...
slawomir-brzezinski-at-travcorp
@slawomir-brzezinski-at-travcorp
How do I set timeoutsImplicitWait only once per tests run, i.e. in onPrepare? I can see that the global browser object does not exist there yet?
Christian Bromann
@christian-bromann
just set it in your before hook
the browser object will be available there