🚀 Socket Launch Week 🚀 Day 4: Introducing Historical Analytics.Learn More
Socket
Sign inDemoInstall
Socket

websocket-webdriver

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

websocket-webdriver

## What is this? A browser driver like WebDriver. This should work on older browser, device browser.

0.0.15
latest
npm
Version published
Weekly downloads
19
26.67%
Maintainers
1
Weekly downloads
 
Created
Source

WebSocket-WebDriver

What is this?

A browser driver like WebDriver. This should work on older browser, device browser.

How to use

Application

  • Add this element on your web application.
    • Script is on /dist/client/main.js
<script src="main.js"></script>

Test code.

// some test frame work.
var driver = require("websocket-webdriver");

var button = driver.element("some xpath");
var buttonText = await button.getText();
expect(buttonText).toBe("Button text");

FAQs

Package last updated on 24 May 2018

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