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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    2
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i taiko-selenoid

Weekly Downloads

6

Version

1.0.3

License

MIT

Unpacked Size

10.1 kB

Total Files

6

Last publish

Collaborators

  • saikris