Log typos
MODIFY
lib/basedriver/commands/session.js
lib/basedriver/commands/session.js
@@ -19,7 +19,7 @@ commands.createSession = async function (jsonwpDesiredCapabilities, jsonwpRequir
if (w3cCapabilities) {
this.setProtocolW3C();
if (jsonwpDesiredCapabilities) {
- log.debug(`W3C capabilities ${_.truncate(JSON.stringify(w3cCapabilities))} and MJSONWP desired capabilities ${_.truncate(w3cCapabilities)} were provided`);
+ log.debug(`W3C capabilities ${_.truncate(JSON.stringify(w3cCapabilities))} and MJSONWP desired capabilities ${_.truncate(JSON.stringify(jsonwpDesiredCapabilities))} were provided`);
}
if (jsonwpDesiredCapabilities && !_.isPlainObject(w3cCapabilities)) {

Log typos (#232)