selwrap

0.1.1 • Public • Published

selwrap

A wrapper for selenium to ease the creation of a webdriver for firefox or chrome.

Probably I will be the only one using this, but if you do use it, feel free to drop me a note at freonius@gmail.com

Example

const { selenium, takeScreenshot, log } = require('selwrap');

selenium('firefox', async (driver, connection, creator) => {
  await driver.get('https://www.google.com');
  log.info('Visited google.com');
  await takeScreenshot(driver);
});

Versions

Current Tags

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

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i selwrap

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

17.1 kB

Total Files

18

Last publish

Collaborators

  • federiker