@wdio/protocols
Advanced tools
Comparing version 8.5.6 to 8.5.7
@@ -1,2 +0,2 @@ | ||
import type { SessionReturn, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ProtocolCommandResponse, Cookie } from '../types.js'; | ||
import type { SessionReturn, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse } from '../types.js'; | ||
export default interface WebdriverCommands { | ||
@@ -210,3 +210,3 @@ /** | ||
*/ | ||
findElementFromShadowRoot(shadowId: string, using: string, value: string): Promise<ProtocolCommandResponse>; | ||
findElementFromShadowRoot(shadowId: string, using: string, value: string): Promise<ElementReference>; | ||
/** | ||
@@ -227,3 +227,3 @@ * Webdriver Protocol Command | ||
*/ | ||
findElementsFromShadowRoot(shadowId: string, using: string, value: string): Promise<object[]>; | ||
findElementsFromShadowRoot(shadowId: string, using: string, value: string): Promise<ElementReference[]>; | ||
/** | ||
@@ -252,3 +252,3 @@ * Webdriver Protocol Command | ||
*/ | ||
getElementShadowRoot(elementId: string): Promise<string>; | ||
getElementShadowRoot(elementId: string): Promise<ShadowElementReference>; | ||
/** | ||
@@ -255,0 +255,0 @@ * Webdriver Protocol Command |
@@ -11,3 +11,5 @@ export interface ProtocolCommandResponse { | ||
export type ElementReferenceId = 'element-6066-11e4-a52e-4f735466cecf'; | ||
export type ShadowElementReferenceId = 'shadow-6066-11e4-a52e-4f735466cecf'; | ||
export type ElementReference = Record<ElementReferenceId, string>; | ||
export type ShadowElementReference = Record<ShadowElementReferenceId, string>; | ||
export interface WindowHandle { | ||
@@ -14,0 +16,0 @@ handle: string; |
{ | ||
"name": "@wdio/protocols", | ||
"version": "8.5.6", | ||
"version": "8.5.7", | ||
"description": "Utility package providing information about automation protocols", | ||
@@ -27,3 +27,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "01be486a93582b19bfade3f6f0778f2b5e2d4c01" | ||
"gitHead": "b8b610be11417ada5809f75266f0462abeb5df79" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
527655
13350