Skip to content

fix(wsdriver): provide connection error info#1259

Merged
KuznetsovRoman merged 1 commit into
masterfrom
TESTPLANE-1008.wsdriver_dx
May 21, 2026
Merged

fix(wsdriver): provide connection error info#1259
KuznetsovRoman merged 1 commit into
masterfrom
TESTPLANE-1008.wsdriver_dx

Conversation

@KuznetsovRoman
Copy link
Copy Markdown
Member

No description provided.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 21, 2026

Open in StackBlitz

npm i https://pkg.pr.new/gemini-testing/testplane@1259

commit: faf2e86

}

const command = url.pathname.slice(commandStartIdx + connectionOptions.sessionPrefix.length);
const command = decodeURIComponent(url.pathname.slice(commandStartIdx + connectionOptions.sessionPrefix.length));
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can fail without decoding for some special appium commands

Comment on lines +36 to +38
if (this.code && this.code >= 400 && this.code < 500) {
return false;
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we received 4xx on upgrade request, we dont need to retry it

@KuznetsovRoman KuznetsovRoman merged commit 28b52bd into master May 21, 2026
7 checks passed
@KuznetsovRoman KuznetsovRoman deleted the TESTPLANE-1008.wsdriver_dx branch May 21, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants