zulootrain.blogg.se

Grunt protractor runner
Grunt protractor runner









grunt protractor runner
  1. GRUNT PROTRACTOR RUNNER HOW TO
  2. GRUNT PROTRACTOR RUNNER INSTALL

sauceUser string: Username for a SauceLabs account.This option is only available for Firefox and Chrome. directConnect boolean: To connect directly to the browser Drivers.chromeDriver string: Location of chrome driver overridng the property in config file.params object: Param object to be passed to the test as browser.params.includeStackTrace boolean: Print stack trace on error.suite string or array: Suite or Array of suites to run.exclude array: Array of files to exclude from testing.specs array: Array of spec files to test.rootElement string: Element housing ng-app, if not html or body.baseUrl string: URL to prepend to all relative paths.seleniumPort string: Optional port for the standalone selenium server.seleniumServerJar string: Location of the standalone selenium server.seleniumAddress string: A running selenium address to use.If you need this behaviour, please join the discussion in #148. Passing object argument with =zzz is not supported at the moment. In your project's Gruntfile, add a section named protractor to the data object passed into grunt.initConfig(). node_modules/grunt-protractor-runner /scripts/webdriver-manager-update The "protractor" task Overview

GRUNT PROTRACTOR RUNNER INSTALL

If you don't have one set up already, you can install a local standalone version with this command. Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript: grunt.load NpmTasks(' grunt- protractor- runner') įinally you need a Selenium server. This plugin will install protractor module locally as a normal dependency. Once you're familiar with that process, you may install this plugin with this command: npm install grunt-protractor-runner - save- dev

GRUNT PROTRACTOR RUNNER HOW TO

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins.

grunt protractor runner

Getting Startedįor Protractor 5.x.x, please use version v5.x.x of this plugin.įor Protractor 4.x.x, please use version v4.x.x of this plugin.įor Protractor 3.x.x, please use version v3.x.x of this plugin.įor Protractor 2.x.x, please use version v2.x.x of this plugin. A Grunt plugin for running Protractor runner.











Grunt protractor runner