selenium-cucumber-js
selenium-cucumber-js copied to clipboard
Browser automation framework written in pure JavaScript using official selenium-webdriver and cucumber-js
Hi, I tried to run this project with just updating cucumber version to latest(4.2.1). But I've caught an error below: My-MAC:selenium-cucumber-js fbb$node index.js /Users/fbb/Frameworks/cucumber-test8/selenium-cucumber-js/node_modules/babel-runtime/helpers/classCallCheck.js:7 throw new TypeError("Cannot call a class...
Hi, I'm using a selenium-cucumber-js.json file at the root of my project with these options: { "steps": "./features/step-definitions", "pageObjects": "./page-objects", "sharedObjects": "./shared-objects", "reports": "./reports", "browser": "firefox", "timeout": 100000 } but...
Hello friends, anybody knows how to detect on the hook AfterScenario if it failed or no? I tried already with: IsFailed `if (!scenario.isFailed) { driver.call(setScore, null, 'pass').then(function(result){ console.log('set score to...
Would be nice as I have my browserstack selenium tests in a sub folder currently as I have other e2e tests in other folders.
Hi @john-doherty . Would appreciate your help if you can please give some insights on how to run the framework on BS on different browsers/devices.
I need to pass in something like `--environment "qa"`. Then I need to use this value to determine which variables to pull in from my `./shared-objects/environment.js` file. I was hoping...
I am running into issues in our CI with this specific dependency failing to download every so often, and it's not something we ever use. We use chromedriver exclusively. Can...
Hello friends, I'm experiencing an issue when the tests finished to run successfully or no. When it is trying to generate the HTML report, I get this message: `/Users/demo/test/Projects/demo/demo.Automated.JS.Tests/node_modules/selenium-cucumber-js/node_modules/cucumber/lib/cucumber/runtime/event_broadcaster.js:30 process.nextTick(function(){...
``` WebDriverError: unknown error: failed to change window state to maximized, current state is normal (Session info: chrome=70.0.3538.77) (Driver info: chromedriver=2.43.600229 (3fae4d0cda5334b4f533bede5a4787f7b832d052),platform=Mac OS X 10.14.2 x86_64) at Object.checkLegacyResponse (/Users/alexwells/hs-website/e2e/node_modules/selenium-webdriver/lib/error.js:529:15) at...