Skip to content

roughsoft/taiko-selenoid

 
 

Repository files navigation


TaikoSelenoidy


Codacy Badge Node.js CI

A plugin to run taiko tests in Selenoid cluster

Installation

npm install taiko-selenoid --save-dev

A plugin to run taiko tests in Selenoid cluster

Usage

Add TAIKO_PLUGIN=taiko-selenoid to your env

const { openBrowser, closeBrowser } = require('taiko');

const assert = require('assert');

describe('Selenoid Tests', async () => {
  beforeEach('Before Launch', async () => {
    await openBrowser(); // return Selenoid Session Id
  });

  afterEach('Close Browser', async () => {
    await closeBrowser(); // Will close the browser and Selenoid Session
  });

  it('Taiko Selenoid Test', async () => {
    await goto('google.com');
    await write('Taiko.js');
  });
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%