New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fake-webdriver-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake-webdriver-server

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

  • 1.0.2
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc