Socket
Socket
Sign inDemoInstall

@wdio/protocols

Package Overview
Dependencies
Maintainers
3
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/protocols - npm Package Compare versions

Comparing version 8.3.5 to 8.3.11

37

build/commands/webdriver.d.ts

@@ -134,3 +134,3 @@ import type { SessionReturn, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ProtocolCommandResponse, Cookie } from '../types.js';

*
* The Print Page command renders the document to a paginated PDF document.
* The Print Page command renders the document to a paginated PDF document. __Note:__ Chrome currently only supports this in [headless mode](https://webdriver.io/docs/capabilities/#run-browser-headless), see [`crbug753118`](https://bugs.chromium.org/p/chromium/issues/detail?id=753118)).
* @ref https://w3c.github.io/webdriver/#print-page

@@ -202,9 +202,2 @@ *

*
* @example
* ```js
* // get element
* const elementRef = await browser.findElement('xpath', '//div')
* const element = await $(elementRef)
* await element.click()
* ```
*/

@@ -218,16 +211,2 @@ findElement(using: string, value: string): Promise<ElementReference>;

*
* @example
* ```js
* // get shadow root
* const element = await browser.findElement('xpath', '//div')
* const shadowRoot = await browser.getElementShadowRoot(
* element['element-6066-11e4-a52e-4f735466cecf']
* )
* // fetch element within that shadow root
* const elementRef = await browser.findElementFromShadowRoot(
* shadowRoot['shadow-6066-11e4-a52e-4f735466cecf'],
* 'xpath',
* '//div'
* )
* ```
*/

@@ -249,16 +228,2 @@ findElementFromShadowRoot(shadowId: string, using: string, value: string): Promise<ProtocolCommandResponse>;

*
* @example
* ```js
* // get shadow root
* const element = await browser.findElement('xpath', '//div')
* const shadowRoot = await browser.getElementShadowRoot(
* element['element-6066-11e4-a52e-4f735466cecf']
* )
* // fetch elements within that shadow root
* const elementRef = await browser.findElementsFromShadowRoot(
* shadowRoot['shadow-6066-11e4-a52e-4f735466cecf'],
* 'xpath',
* '//div'
* )
* ```
*/

@@ -265,0 +230,0 @@ findElementsFromShadowRoot(shadowId: string, using: string, value: string): Promise<object[]>;

77

build/protocols/webdriver.d.ts

@@ -34,2 +34,3 @@ declare const _default: {

parameters: never[];
exampleReferences: string[];
returns: {

@@ -48,2 +49,3 @@ type: string;

parameters: never[];
exampleReferences: string[];
returns: {

@@ -65,2 +67,3 @@ type: string;

}[];
exampleReferences: string[];
};

@@ -74,2 +77,3 @@ };

parameters: never[];
exampleReferences: string[];
returns: {

@@ -91,2 +95,4 @@ type: string;

}[];
exampleReferences: string[];
alternativeCommands: string[];
returns: {

@@ -105,2 +111,3 @@ type: string;

parameters: never[];
exampleReferences: string[];
};

@@ -114,2 +121,3 @@ };

parameters: never[];
exampleReferences: string[];
};

@@ -123,2 +131,3 @@ };

parameters: never[];
exampleReferences: string[];
};

@@ -137,2 +146,3 @@ };

};
exampleReferences: string[];
};

@@ -151,2 +161,3 @@ };

};
exampleReferences: string[];
};

@@ -158,2 +169,3 @@ DELETE: {

parameters: never[];
exampleReferences: string[];
};

@@ -170,2 +182,4 @@ POST: {

}[];
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -189,2 +203,3 @@ };

};
exampleReferences: string[];
};

@@ -203,2 +218,3 @@ };

};
exampleReferences: string[];
};

@@ -222,2 +238,3 @@ };

};
exampleReferences: string[];
};

@@ -236,2 +253,3 @@ };

}[];
exampleReferences: string[];
};

@@ -245,2 +263,3 @@ };

parameters: never[];
exampleReferences: string[];
};

@@ -259,2 +278,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -271,2 +292,3 @@ POST: {

}[];
alternativeCommands: string[];
returns: {

@@ -277,2 +299,3 @@ type: string;

};
exampleReferences: string[];
};

@@ -291,2 +314,3 @@ };

};
exampleReferences: string[];
};

@@ -325,3 +349,2 @@ };

ref: string;
examples: string[][];
parameters: {

@@ -338,2 +361,4 @@ name: string;

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -346,3 +371,2 @@ };

ref: string;
examples: string[][];
variables: {

@@ -358,2 +382,3 @@ name: string;

}[];
alternativeCommands: string[];
returns: {

@@ -364,2 +389,3 @@ type: string;

};
exampleReferences: string[];
};

@@ -378,2 +404,3 @@ };

}[];
alternativeCommands: string[];
returns: {

@@ -384,2 +411,3 @@ type: string;

};
exampleReferences: string[];
};

@@ -396,2 +424,3 @@ };

}[];
alternativeCommands: string[];
parameters: {

@@ -403,3 +432,3 @@ name: string;

}[];
examples: string[][];
exampleReferences: string[];
returns: {

@@ -427,2 +456,3 @@ type: string;

}[];
alternativeCommands: string[];
returns: {

@@ -433,2 +463,3 @@ type: string;

};
exampleReferences: string[];
};

@@ -451,2 +482,3 @@ };

}[];
alternativeCommands: string[];
returns: {

@@ -457,2 +489,3 @@ type: string;

};
exampleReferences: string[];
};

@@ -475,2 +508,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -489,2 +524,3 @@ };

};
exampleReferences: string[];
};

@@ -507,2 +543,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -525,2 +563,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -543,2 +583,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -561,2 +603,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -574,2 +618,3 @@ };

parameters: never[];
alternativeCommands: string[];
returns: {

@@ -580,2 +625,3 @@ type: string;

};
exampleReferences: string[];
};

@@ -598,2 +644,3 @@ };

};
exampleReferences: string[];
};

@@ -616,2 +663,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -634,2 +683,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -652,2 +703,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -665,2 +718,4 @@ };

parameters: never[];
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -678,2 +733,4 @@ };

parameters: never[];
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -696,2 +753,4 @@ };

}[];
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -710,2 +769,3 @@ };

};
exampleReferences: string[];
};

@@ -729,2 +789,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -748,2 +810,4 @@ };

};
alternativeCommands: string[];
exampleReferences: string[];
};

@@ -762,2 +826,3 @@ };

};
exampleReferences: string[];
};

@@ -774,2 +839,3 @@ POST: {

}[];
exampleReferences: string[];
};

@@ -781,2 +847,3 @@ DELETE: {

parameters: never[];
exampleReferences: string[];
};

@@ -799,2 +866,3 @@ };

};
exampleReferences: string[];
};

@@ -810,2 +878,3 @@ DELETE: {

parameters: never[];
exampleReferences: string[];
};

@@ -838,2 +907,3 @@ };

parameters: never[];
exampleReferences: string[];
};

@@ -860,2 +930,3 @@ };

};
exampleReferences: string[];
};

@@ -862,0 +933,0 @@ POST: {

{
"name": "@wdio/protocols",
"version": "8.3.5",
"version": "8.3.11",
"description": "Utility package providing information about automation protocols",

@@ -27,3 +27,3 @@ "author": "Christian Bromann <mail@bromann.dev>",

},
"gitHead": "cc6deb72e7c4f064074ca8a2e101da7c08db8b4b"
"gitHead": "d54b501e286d4f2c14b1f0e038d7253bd0c1a9b0"
}

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 too big to display

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