Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/freonius/selwrap

A wrapper for Selenium webdriver
https://github.com/freonius/selwrap

nodejs selenium selenium-webdriver wrapper-library

Last synced: about 1 month ago
JSON representation

A wrapper for Selenium webdriver

Awesome Lists containing this project

README

        

# 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 [email protected]

## Example

```javascript
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);
});
```