Skip to content

Commit be8d889

Browse files
committed
Merge branch 'develop' of github.com:AutomateThePlanet/appium-novawindows-driver into feature/webview-support
2 parents 37b9291 + 3bd5408 commit be8d889

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## [1.4.0-preview.2](https://github.com/AutomateThePlanet/appium-novawindows-driver/compare/v1.4.0-preview.1...v1.4.0-preview.2) (2026-04-02)
2+
3+
### Bug Fixes
4+
5+
* debug cdp json issue ([fe3f762](https://github.com/AutomateThePlanet/appium-novawindows-driver/commit/fe3f762ae666fc9de5158f03c2b7c9acb62c52c0))
6+
7+
## [1.4.0-preview.1](https://github.com/AutomateThePlanet/appium-novawindows-driver/compare/v1.3.1...v1.4.0-preview.1) (2026-04-02)
8+
9+
### Features
10+
11+
* **webview:** enable WebView2 support ([644034f](https://github.com/AutomateThePlanet/appium-novawindows-driver/commit/644034f866efcca48b87e0344b88d34f4471f608))
12+
13+
### Miscellaneous Chores
14+
15+
* **release:** 1.2.0-preview.1 [skip ci] ([f9cb5c5](https://github.com/AutomateThePlanet/appium-novawindows-driver/commit/f9cb5c5c8e7e88b7929171fe39c59635b721f4de))
16+
* **release:** 1.2.0-preview.2 [skip ci] ([6ad9bdb](https://github.com/AutomateThePlanet/appium-novawindows-driver/commit/6ad9bdbdbe26cb5c7f881a8e1e80f064dfc6863b))
17+
118
## [1.3.1](https://github.com/AutomateThePlanet/appium-novawindows-driver/compare/v1.3.0...v1.3.1) (2026-03-09)
219

320
### Bug Fixes

lib/commands/contexts.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export async function getWebViewDetails(this: NovaWindowsDriver, waitForWebviewM
166166

167167
const waitMs = waitForWebviewMs ? Number(waitForWebviewMs) : 0;
168168
if (waitMs) {
169+
this.log.debug(`waiting for ${waitMs} ms`);
169170
await sleep(waitMs);
170171
}
171172

@@ -178,8 +179,8 @@ export async function getWebViewDetails(this: NovaWindowsDriver, waitForWebviewM
178179
const port = this.webviewDevtoolsPort ??= this.caps.webviewDevtoolsPort ?? null;
179180

180181
const webViewDetails: WebViewDetails = {
181-
info: await cdpRequest<CDPVersionResponse>({ host, port, endpoint: '/json/version', timeout: 10000 }),
182-
pages: await cdpRequest<CDPListResponse>({ host, port, endpoint: '/json/list', timeout: 10000 }),
182+
info: await cdpRequest.call(this, ({ host, port, endpoint: '/json/version', timeout: 10000 })),
183+
pages: await cdpRequest.call(this, ({ host, port, endpoint: '/json/list', timeout: 10000 })),
183184
};
184185

185186
return webViewDetails;
@@ -243,7 +244,11 @@ async function getDriverExecutable(this: NovaWindowsDriver, browserType: 'Edge'
243244
return finalPath;
244245
}
245246

246-
async function cdpRequest<T = unknown>({ host, port, endpoint, timeout }): Promise<T> {
247+
async function cdpRequest<T = unknown>(this: NovaWindowsDriver, { host, port, endpoint, timeout }): Promise<T> {
248+
if (this?.log) {
249+
this.log.debug(`Sending request to ${host}:${port}${endpoint}`);
250+
}
251+
247252
return new Promise<T>((resolve, reject) => {
248253
const options = {
249254
hostname: host,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "appium-novawindows-driver",
3-
"version": "1.3.1",
3+
"version": "1.4.0-preview.2",
44
"description": "Appium driver for Windows",
55
"keywords": [
66
"appium",

0 commit comments

Comments
 (0)