How to use the geckodriver.stop function in geckodriver

To help you get started, we’ve selected a few geckodriver examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sneakypete81 / updatescanner / scripts / test-func.js View on Github external
const test = async function() {
  console.log('Starting Geckodriver...');
  geckodriver.start();

  console.log('Running functional tests...');

  try {
    childProcess.execFileSync(
      'poetry', ['run', 'pytest'],
      {cwd: FUNC_TEST_PATH, stdio: 'inherit'},
    );
  } finally {
    console.log('Stopping Geckodriver...');
    geckodriver.stop();
  }
};
github mobxjs / mobx-devtools / test / prepare.js View on Github external
      return () => geckodriver.stop();
    default:

geckodriver

Mozilla's Geckodriver for Node.js

MPL-2.0
Latest version published 10 days ago

Package Health Score

71 / 100
Full package analysis