taiko-selenoid
v1.0.3
Published
A plugin to run taiko tests in selenoid cluster
Downloads
7
Readme
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');
});
});