Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/freonius/selwrap
- Owner: Freonius
- Created: 2023-10-13T10:04:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-30T16:41:48.000Z (10 months ago)
- Last Synced: 2024-10-14T19:41:06.100Z (about 1 month ago)
- Topics: nodejs, selenium, selenium-webdriver, wrapper-library
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/selwrap
- Size: 101 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
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);
});
```