{"id":14978898,"url":"https://github.com/jeromemacias/nodium","last_synced_at":"2025-04-11T01:02:09.633Z","repository":{"id":142193763,"uuid":"60035362","full_name":"jeromemacias/nodium","owner":"jeromemacias","description":"Pure nodejs selenium webdriver functional helpers","archived":false,"fork":false,"pushed_at":"2019-01-31T10:25:56.000Z","size":213,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T21:42:34.867Z","etag":null,"topics":["nodejs","selenium","selenium-node","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeromemacias.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-30T19:53:22.000Z","updated_at":"2019-01-31T10:25:58.000Z","dependencies_parsed_at":"2023-03-29T00:48:00.267Z","dependency_job_id":null,"html_url":"https://github.com/jeromemacias/nodium","commit_stats":{"total_commits":55,"total_committers":1,"mean_commits":55.0,"dds":0.0,"last_synced_commit":"02f8bb049d5dffbbaa23fff8b1ece46c05ecc3c4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromemacias%2Fnodium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromemacias%2Fnodium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromemacias%2Fnodium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromemacias%2Fnodium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeromemacias","download_url":"https://codeload.github.com/jeromemacias/nodium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247959799,"owners_count":21024843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nodejs","selenium","selenium-node","selenium-webdriver"],"created_at":"2024-09-24T13:58:36.078Z","updated_at":"2025-04-11T01:02:09.593Z","avatar_url":"https://github.com/jeromemacias.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodium\n[![NPM Version](https://badge.fury.io/js/nodium.svg?style=flat)](https://npmjs.org/package/nodium)\n[![Build Status](https://travis-ci.org/jeromemacias/nodium.svg?branch=master)](https://travis-ci.org/jeromemacias/nodium) [![Circle CI](https://circleci.com/gh/jeromemacias/nodium/tree/master.svg?style=shield)](https://circleci.com/gh/jeromemacias/nodium/tree/master) [![BrowserStack Status](https://www.browserstack.com/automate/badge.svg?badge_key=Yi9pYVJBUjFURW9xT0dDQXlIVzMwZ0pNY3U0R3pudmRvNEpGSHNDQklSND0tLTg2MlRxWWJOaGRRV1hERmhjbWJDNkE9PQ==--fe633534b39f0c29b8abcc78f51a7005085ea98b%)](https://www.browserstack.com/automate/public-build/Yi9pYVJBUjFURW9xT0dDQXlIVzMwZ0pNY3U0R3pudmRvNEpGSHNDQklSND0tLTg2MlRxWWJOaGRRV1hERmhjbWJDNkE9PQ==--fe633534b39f0c29b8abcc78f51a7005085ea98b%)\n [![Sauce Test Status](https://saucelabs.com/buildstatus/jeromemacias-nodium)](https://saucelabs.com/u/jeromemacias-nodium)\n\nNodium is a collection of useful and pure functions around Selenium Webdriver.\nFunctions can be imported as ES5 or ES6 (stage2) from package.\nYou are free to use the test runner of your choice.\n\n## Motivation\n\nThere is a lot of frameworks on top of Selenium Webdriver.\n\nI wanted to provide a simple wrapper around webdriver to avoid:\n- custom and/or complex configuration file\n- force usage and/or configuration of a test runner\n- writing long documentation to be able to use a tool which is already documented\n- global variables and / or context\n\nSo we will now be able to:\n- use Selenium Webdriver quickly, with your own tools and habits (ES6, BDD, ...)\n- choose the way you configure browsers and options used by your testsuite (env var, function parameters, code...)\n\nHope you will enjoy this toolbox!\n\n## Installation\n\n`npm i nodium`\n\n## Usage\n\nAvailable helpers:\n\n- driver/\n    - index: load the corresponding webdriver depends on defined environment variables (local firefox by default)\n    - utils: helpers to play with your loaded pages dom\n    - local: load the corresponding local webdriver depends on your owner parameters\n    - browserstack: load a configured BrowserStack webdriver depends on your owner parameters\n    - saucelabs: load a configured SauceLabs webdriver depends on your owner parameters\n- hook/\n    - browserstack: update BrowserStack status at the end of your test suite\n    - saucelabs: update SaucLabs status at the end of your test suite\n    - jsonServer: start jsonServer before running your test\n    - pm2: start and stop pm2 processes\n\n## Todo\n\n- write documentation (by now, you can read the code directly)\n- add more hook helpers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromemacias%2Fnodium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeromemacias%2Fnodium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromemacias%2Fnodium/lists"}