@critik/simple-webdriver
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Coverage Status Maintainability Rating Security Rating

simple-webdriver

A webdriver javascript bindings written in typescript with no dependency

How to get started

Install the package simple-webdriver npm install --save simple-webdriver Install a W3C compatible webdriver

npm install --save webdriver-manager
webdriver-manager update
webdriver-manager start

Start to code :

import { WebDriver } from "simple-webdriver"


async function example() {
    let session =  new WebDriver("http://localhost:4440/wd/hub");
    let browser = await session.start();
    await browser.navigate().to("http://perdu.com");
    let title = await browser.getTitle();
    console.log(title);
}

example();

Warning

This is an early version which should not be used in production environment. Major changes can occur before 1.0.0.

Package Sidebar

Install

npm i @critik/simple-webdriver

Weekly Downloads

33

Version

0.3.0

License

Apache-2.0

Unpacked Size

103 kB

Total Files

62

Last publish

Collaborators

  • critik