🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

fake-webdriver-server

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

fake-webdriver-server

A fake WebDriver server that does nothing, built on generic-webdriver-server.

1.0.2
unpublished
latest
69

Supply Chain Security

100

Vulnerability

82

Quality

76

Maintenance

100

License

Version published
Maintainers
1
Created

Fake WebDriver Server

A fake WebDriver server, implementing the subset of the WebDriver protocol necessary for Karma.

A backend implementation for the Generic WebDriver Server family. Does not actually do anything, but serves as an example and tool for testing Selenium integration in general.

Installation

This is a template and has not been published as a real package. You can't install it via NPM!

Usage

First, please refer to the "Setup" doc for Generic WebDriver Server. That will explain how to set up Selenium to talk to Generic WebDriver Servers, as well as how to set server parameters.

In the command-line for the Selenium node, set the following Java system properties:

  • genericwebdriver.browser.name: The name of your fake browser. See also notes in the "Setup" doc.
  • genericwebdriver.backend.exe: The path to the executable, such as path/to/generic-webdriver-server/backends/fake/fake-webdriver-server.js

Supported parameters

This backend supports the following parameters:

  • foo: Gets added to the fake page title, just to show how to access parameters in a backend implementation.
  • bar: Does nothing at all!

How it works

It doesn't! If you hook this up to Karma, Karma will time out waiting for the "browser" to connect back to it.

FAQs

Package last updated on 07 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts