@wdio/protocols
Advanced tools
Comparing version 8.11.0 to 8.14.6
@@ -1,2 +0,2 @@ | ||
import type { StatusReturn, SessionReturn, ProtocolCommandResponse, RectReturn, ElementReference, Cookie } from '../types.js'; | ||
import type { StatusReturn, SessionReturn, ProtocolCommandResponse, DeleteSessionOpts, RectReturn, ElementReference, Cookie } from '../types.js'; | ||
export default interface JsonwpCommands { | ||
@@ -42,3 +42,3 @@ /** | ||
*/ | ||
deleteSession(): Promise<void>; | ||
deleteSession(deleteSessionOpts?: DeleteSessionOpts): Promise<void>; | ||
/** | ||
@@ -45,0 +45,0 @@ * Jsonwp Protocol Command |
@@ -1,2 +0,2 @@ | ||
import type { SessionReturn, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse } from '../types.js'; | ||
import type { SessionReturn, DeleteSessionOpts, StatusReturn, Timeouts, WindowHandle, RectReturn, ElementReference, ShadowElementReference, Cookie, ProtocolCommandResponse } from '../types.js'; | ||
export default interface WebdriverCommands { | ||
@@ -18,3 +18,3 @@ /** | ||
*/ | ||
deleteSession(): Promise<void>; | ||
deleteSession(deleteSessionOpts?: DeleteSessionOpts): Promise<void>; | ||
/** | ||
@@ -21,0 +21,0 @@ * Webdriver Protocol Command |
@@ -67,3 +67,8 @@ declare const _default: { | ||
ref: string; | ||
parameters: never[]; | ||
parameters: { | ||
name: string; | ||
type: string; | ||
description: string; | ||
required: boolean; | ||
}[]; | ||
}; | ||
@@ -70,0 +75,0 @@ }; |
@@ -69,3 +69,8 @@ export default { | ||
ref: 'https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#delete-sessionsessionid', | ||
parameters: [], | ||
parameters: [{ | ||
name: 'deleteSessionOpts', | ||
type: 'object', | ||
description: 'Object containing options for the deleteSession command, e.g. `{ shutdownDriver: boolean }`', | ||
required: false, | ||
}], | ||
}, | ||
@@ -72,0 +77,0 @@ }, |
@@ -25,3 +25,8 @@ declare const _default: { | ||
ref: string; | ||
parameters: never[]; | ||
parameters: { | ||
name: string; | ||
type: string; | ||
description: string; | ||
required: boolean; | ||
}[]; | ||
}; | ||
@@ -28,0 +33,0 @@ }; |
@@ -24,2 +24,9 @@ export interface ProtocolCommandResponse { | ||
} | ||
export interface DeleteSessionOpts { | ||
/** | ||
* if set to `false` the driver process remains alive after calling deleteSession | ||
* @default true | ||
*/ | ||
shutdownDriver?: boolean; | ||
} | ||
export interface StringsReturn { | ||
@@ -26,0 +33,0 @@ [key: string]: string; |
{ | ||
"name": "@wdio/protocols", | ||
"version": "8.11.0", | ||
"version": "8.14.6", | ||
"description": "Utility package providing information about automation protocols", | ||
@@ -30,3 +30,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
}, | ||
"gitHead": "6fa7ae486537cbd3f6dd9e3bcc1812eb0acc6262" | ||
"gitHead": "84472108356bc234e6765ba9ffd84867aea2df2a" | ||
} |
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
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
558384
14103
62