Skip to content

Commit

Permalink
Update chromedriver.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Jan 23, 2025
1 parent 1aca0f0 commit 2025afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chromedriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ export class Chromedriver extends events.EventEmitter {
const respondedCapabilities = /** @type {NewSessionResponse} */ (
await this.jwproxy.command('/session', 'POST', sessionCaps)
);
// Only operadriver could only return MJSONWP format response in MJSONWP in the non-w3c mode.
// Only operadriver could return only MJSONWP format response in MJSONWP mode.
const capabilities = respondedCapabilities.capabilities || respondedCapabilities;
this.log.prefix = generateLogPrefix(this, this.jwproxy.sessionId);
this.changeState(Chromedriver.STATE_ONLINE);
Expand Down

0 comments on commit 2025afd

Please sign in to comment.