<commit_before># ![Cybernaut][logo-svg]

[![npm][npm-cybernaut-badge]][npm-cybernaut]
[![build][travis-ci-badge]][travis-ci]
[![coverage][coveralls-badge]][coveralls]
[![Greenkeeper][greenkeeper-badge]][greenkeeper]
[![TypeScript][typescript-badge]][typescript]

> Reliable, automated web UI testing in BDD-style.

[![Example][example-png]][example-png]

WYSIWYM—the above **human-readable** test output corresponds to what is programmed:

```js
const {browser, defineElement, it, test} = require('cybernaut');

test('This is an example test', async t => {
  await t.perform(browser.loadPage('http://example.com/'), {retries: 0});

  await t.assert(browser.pageTitle, it.should.equal('Example Domain'));

  const moreInformationLink = defineElement('more-information-link', 'a');

  await t.perform(moreInformationLink.click());

  await t.assert(browser.pageTitle, it.should.contain('IANA'));
});
```

## Getting started

Although it is possible to run your tests [locally][testing-locally], it is recommended to run them on Docker.
For this, only Docker has to be [installed][docker-installation], no further dependencies are required.

To get started, put a test file (e.g. test.e2e.js) into a directory:

```sh
mkdir -p cybernaut-tests/ & vi cybernaut-tests/test.e2e.js
```

and run it on Chrome with Docker:

```sh
docker run -it --rm \
  -v "$(pwd)"/cybernaut-tests:/opt/cybernaut-tests \<commit_msg>docs: fix broken shell example<commit_after># ![Cybernaut][logo-svg]

[![npm][npm-cybernaut-badge]][npm-cybernaut]
[![build][travis-ci-badge]][travis-ci]
[![coverage][coveralls-badge]][coveralls]
[![Greenkeeper][greenkeeper-badge]][greenkeeper]
[![TypeScript][typescript-badge]][typescript]

> Reliable, automated web UI testing in BDD-style.

[![Example][example-png]][example-png]

WYSIWYM—the above **human-readable** test output corresponds to what is programmed:

```js
const {browser, defineElement, it, test} = require('cybernaut');

test('This is an example test', async t => {
  await t.perform(browser.loadPage('http://example.com/'), {retries: 0});

  await t.assert(browser.pageTitle, it.should.equal('Example Domain'));

  const moreInformationLink = defineElement('more-information-link', 'a');

  await t.perform(moreInformationLink.click());

  await t.assert(browser.pageTitle, it.should.contain('IANA'));
});
```

## Getting started

Although it is possible to run your tests [locally][testing-locally], it is recommended to run them on Docker.
For this, only Docker has to be [installed][docker-installation], no further dependencies are required.

To get started, put a test file (e.g. test.e2e.js) into a directory:

```sh
mkdir -p cybernaut-tests/ && vi cybernaut-tests/test.e2e.js
```

and run it on Chrome with Docker:

```sh
docker run -it --rm \
  -v "$(pwd)"/cybernaut-tests:/opt/cybernaut-tests \
{'fraction_non_alphanumeric': 0.16537102473498233, 'fraction_numerical': 0.0021201413427561835, 'mean_word_length': 5.419501133786848, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2026346', 'n_tokens_mistral': 1000, 'n_tokens_neox': 950, 'n_words': 244}