1.0.2 • Published 3 years ago

e2e-human-framework v1.0.2

Weekly downloads
13
License
ISC
Repository
github
Last release
3 years ago

Install

Running with Firefox

  • Find the latest release (https://github.com/mozilla/geckodriver/releases)

    export GECKO_DRIVER_VERSION='v0.29.0'
    
    wget https://github.com/mozilla/geckodriver/releases/download/$GECKO_DRIVER_VERSION/geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz
    
    tar -xvzf geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz
    
    rm geckodriver-$GECKO_DRIVER_VERSION-linux64.tar.gz
    
    chmod +x geckodriver
    
    cp geckodriver /usr/local/bin/

Running with Chrome

* Download last release chromedriver (http://chromedriver.storage.googleapis.com/index.html)

* Unzip file
```bash
    unzip chromedriver_linux64.zip
```

* Configure chromedriver on your system
```bash
    sudo mv chromedriver /usr/bin/chromedriver
    sudo chown root:root /usr/bin/chromedriver
    sudo chmod +x /usr/bin/chromedriver

```
  • Run the e2e package.
    const e2e = require('e2e-human-framework');


    e2e({
        projectPath: __dirname, // Where features are located
    });