taiko-selenoid

1.0.3 • Public • Published


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');
  });
});

Readme

Keywords

Package Sidebar

Install

npm i taiko-selenoid

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

10.1 kB

Total Files

6

Last publish

Collaborators

  • saikris