ChRec's core business logic and model for testing HTML locator robustness
npm install chrec-core

git clone https://github.com/cyluxx/chrec-core.git
`Navigate to the installed location and install dependencies:
`
cd chrec-core
npm install
`Run Tests with:
`
npm run test
`
Make sure that at least one proper _Selenium_ server instance is running and all corresponding webdrivers are installed and configured:
* Chrome
* Edge
* Firefox
* Internet ExplorerYou can configure your _Selenium_ Url via the SELENIUM_SERVER_URL variable in the _package.json_:
`
"scripts": {
...
"test-dev": "cross-env SELENIUM_SERVER_URL=http://localhost:4444/wd/hub NODE_ENV=dev jest --config jestconfig.json",
...
},
`Format code with:
`
npm run format
`Lint code with:
`
npm run lint
``