Skip to content

Commit 479a5d4

Browse files
committedMar 12, 2025·
moar
1 parent d5bca9b commit 479a5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/webdriveragent.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ export class WebDriverAgent {
580580
const proxyOpts = {
581581
log: this.log,
582582
server: this.url.hostname ?? undefined,
583-
port: parseInt(this.url.port ?? '', 10) ?? undefined,
583+
port: parseInt(this.url.port ?? '', 10) || undefined,
584584
base: this.basePath,
585585
timeout: this.wdaConnectionTimeout,
586586
keepAlive: true,

0 commit comments

Comments
 (0)