Skip to content

Commit

Permalink
attach to w3c sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
shiva-guntoju committed Feb 2, 2024
1 parent 24b58de commit dea44b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/renderer/actions/Session.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,9 @@ export function newSession(caps, attachSessId = null) {
let attachedSessionCaps = {};
if (attachedSession) {
attachedSessionCaps = attachedSession.capabilities;
if (attachedSessionCaps.platformName === undefined) {
attachedSessionCaps = attachedSession.capabilities.capabilities;
}
} else {
const {protocol, hostname, port, path} = serverOpts;
try {
Expand Down

0 comments on commit dea44b6

Please sign in to comment.