Socket
Socket
Sign inDemoInstall

webdriver-js-extender

Package Overview
Dependencies
31
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

built/built/built/built/built/built/built/built/built/built/built/built/built/built/built/built/spec/command_tests/totally_real_apk.apk

2

built/lib/command_definitions.d.ts

@@ -47,1 +47,3 @@ import { CommandDefinition } from './command_definition';

export declare let shakeDevice: CommandDefinition<void>;
export declare let sendChromiumCommand: CommandDefinition<void>;
export declare let sendChromiumCommandAndGetResult: CommandDefinition<Object>;

@@ -104,2 +104,4 @@ "use strict";

exports.shakeDevice = new command_definition_1.CommandDefinition('shakeDevice', [], 'POST', 'appium/device/shake');
exports.sendChromiumCommand = new command_definition_1.CommandDefinition('sendChromiumCommand', ['cmd', 'params'], 'POST', '/chromium/send_command');
exports.sendChromiumCommandAndGetResult = new command_definition_1.CommandDefinition('sendChromiumCommandAndGetResult', ['cmd', 'params'], 'POST', '/chromium/send_command_and_get_result');
//# sourceMappingURL=command_definitions.js.map

@@ -50,3 +50,5 @@ import { promise as wdpromise, WebDriver } from 'selenium-webdriver';

shakeDevice: () => wdpromise.Promise<void>;
sendChromiumCommand: (cmd: string, params: Object) => wdpromise.Promise<void>;
sendChromiumCommandAndGetResult: (cmd: string, params: Object) => wdpromise.Promise<Object>;
}
export declare function extend(baseDriver: WebDriver, fallbackGracefully?: boolean): ExtendedWebDriver;

7

built/package.json
{
"name": "webdriver-js-extender",
"version": "2.0.0",
"version": "2.1.0",
"description": "A plugin which adds additional commands to selenium's javascript implementation of the webdriver client side API",

@@ -16,6 +16,3 @@ "scripts": {

],
"repository": {
"type": "git",
"url": "git://github.com/angular/webdriver-js-entender.git"
},
"repository": "github:angular/webdriver-js-extender",
"main": "built/lib/index.js",

@@ -22,0 +19,0 @@ "author": "Sammy Jelin <sjelin@gmail.com>",

@@ -55,3 +55,5 @@ "use strict";

{ args: [1, 2, 3, 90, 5], params: { x: 1, y: 2, duration: 3, rotation: 90, touchCount: 5 } }],
shakeDevice: {}
shakeDevice: {},
sendChromiumCommand: { args: ['DOM.enable', {}] },
sendChromiumCommandAndGetResult: { args: ['DOM.enable', {}] }
};

@@ -58,0 +60,0 @@ function runTestcase(commandName) {

@@ -10,2 +10,3 @@ "use strict";

const appium_1 = require("./appium");
const chromium_1 = require("./chromium");
const storage_1 = require("./storage");

@@ -17,2 +18,3 @@ exports.session = {

appium: appium_1.appium,
chromium: chromium_1.chromium,
};

@@ -19,0 +21,0 @@ exports.session.currentContext = helpers_1.getterFactory('context', 'currentContext');

@@ -80,2 +80,6 @@ import { Session as BasicSession, Command } from 'selenium-mock';

}
export interface ChromiumCommandList extends CommandList {
sendChromiumCommand: Command<Session>;
sendChromiumCommandAndGetResult: Command<Session>;
}
export interface SessionCommandList extends CommandList {

@@ -104,2 +108,3 @@ currentContext: Command<Session>;

appium: AppiumCommandList;
chromium: ChromiumCommandList;
}
{
"name": "webdriver-js-extender",
"version": "2.0.0",
"version": "2.1.0",
"description": "A plugin which adds additional commands to selenium's javascript implementation of the webdriver client side API",

@@ -16,6 +16,3 @@ "scripts": {

],
"repository": {
"type": "git",
"url": "git://github.com/angular/webdriver-js-entender.git"
},
"repository": "github:angular/webdriver-js-extender",
"main": "built/lib/index.js",

@@ -22,0 +19,0 @@ "author": "Sammy Jelin <sjelin@gmail.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc