When using phantomjs with selenium, I would like to change the default --webdriver-logfile parameter, that selenium passes to phantomjs. How can I do it?   The corresponding line in selenium log:  11:06:06.960 INFO - arguments: [--webdriver=14380, --...
In the wdio.conf onPrepare I am storing all my feature file's in a array.  let listOfFiles = fs.readdirSync(process.cwd() + '/features'); var featureFiles = [];  listOfFiles.map((file) => {     featureFiles.push(file) });   Is it possi...
I am using WebDriverIO to try to access (ie. getText, getAttribute, click, etc) an element after creating a list of elements. I am easily able to implement this element if I am using the browser.element() method, but the moment I use browser.elements...
I have two test. The first test passes successfully. Then there is an url method call in the second test, but it doesn't change the url in the browser.   The baseUrl in wdio.conf.js is set to http://localhost/web/es/index.html#  Tests:  var asser...
I'm using webdriverjs to run automated tests on Windows 8. The tests work correctly when I set the browser to Chrome but not when I use PhantomJS. The same tests also work correctly when I run them on OS X Mavericks.  The tests don't fail, th...
I m trying to learn a bit more cucumberjs with webdriverIO and I m having some troubles while launching my tests.  Actually, I want to cover this simple feature :  Feature: Example Feature   In order to become productive   As a test automation engine...
I am new to jasmine and webdriverio, I am trying to execute multiple 'it' functions inside a 'describe' but could not execute more than one it statement.  Below is the code.  var webdriverio = require('webdriverio'); var optio...
I am getting the following error from my webdriverIO selenium code when I try to run it:     Failed: unknown error: Element  is not   clickable at point (389, 709). Other element would receive the click:   < html lang="en" >...< /htm...
Hey guys I'm new to JS and Node.js and I'm having trouble setting up a webdriverio project using cucumber and PageObject. And every time I try to run a test this error happens:  ERROR: Cannot find module '../support/action/openWebsite'...
I'm doing this in my page object:  try{     I.selectOption(this.SELECT, this.OPTION); } catch(error){     I.say('Option missing, but thats sometimes expected ' + error); }   But it still fails the test when the locator doesn't match a...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.