SuhagVamja / Nemo-Lambdatest-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nemo-Lambdatest-sample

LambdaTest Logo

NemoJS

Automate your acceptance tests and run them in real browsers!

Prerequisites for NemoJS tutorial for Selenium and JavaScript

  • Node.js and Package Manager (npm) : Install Node.js from here Or Install Node.js with Homebrew
$ brew install node
  • Nemo Package Module : npm to install Nemo
$ npm init

npm to install Nemo in ./node_modules/.bin folder

$ npm install --save-dev nemo
  • LambdaTest Credentials
    • For linux/mac
    export LT_USERNAME="YOUR_USERNAME"
    export LT_ACCESS_KEY="YOUR ACCESS KEY"
    
    
    • For Windows
    set LT_USERNAME="YOUR_USERNAME"
    set LT_ACCESS_KEY="YOUR ACCESS KEY"
    
    
  1. Setup

    • Clone the repo
    • Install dependencies npm install
    • Update nemo.config.js files with your LambdaTest Username and Access Key
  2. run single test

    • npx nemo -P chrome
  3. run parallel test

    • npx nemo -P chrome,chrome_2,firefox

About


Languages

Language:JavaScript 100.0%