protractor-relaunchable

Experimental hack on protractor v1.3.1 originally by Julie Ralph ju.ralph@gmail.com, used by package asyncshell http://github.com/carrascoMDD/asyncshell to reset state kept in certain properties, such that it allows relaunching protractor multiple times w


Keywords
relaunchable, angular, test, testing, webdriver, webdriverjs, selenium
License
MIT
Install
npm install protractor-relaunchable@0.0.1

Documentation

Protractor-ReLaunchable

Experimental hack on protractor v1.3.1 originally by Julie Ralph ju.ralph@gmail.com, used by package asyncshell http://github.com/carrascoMDD/asyncshell to reset state kept in certain properties, such that it allows relaunching protractor multiple times within the same NodeJS operating system process.

original work

See original Protractor

Protractor is an end-to-end test framework for AngularJS applications. Protractor is a Node.js program built on top of WebDriverJS. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

Getting Started

The Protractor documentation for users is located in the protractor/docs folder.

To get set up and running quickly:

Once you are familiar with the tutorial, you’re ready to move on. To modify your environment, see the Protractor Setup docs. To start writing tests, see the Protractor Tests docs.

To better understand how Protractor works with the Selenium WebDriver and Selenium Sever see the reference materials.

For Contributors

Clone the github repository:

git clone https://github.com/angular/protractor-relaunchable.git
cd protractor
npm install

Start up a selenium server. By default, the tests expect the selenium server to be running at http://localhost:4444/wd/hub.

Protractor's test suite runs against the included test application. Start that up with

npm start

Then run the tests with

npm test