OS: Ubuntu 16.04.2 64-bit
Nodejs: 4.2.6
Nightwatch version: 0.9.15
Geckodriver version: 0.17.0
Selenium version: 3.4.0
Minimal test code:
client.getLog('browser', function(logEntriesArray) {
console.log("Log object %o", logEntriesArray);
});
Expected output: array of log entries, probably empty (array of objects with properties 'message', 'level', 'timestamp').
Actually received output: something like below:
{
additionalInformation: '\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\nCapabilities [{moz:profile=/tmp/rust_mozprofile.nC7YUzpGYbYI, rotatable=false, timeouts={implicit=0.0, pageLoad=300000.0, script=30000.0}, pageLoadStrategy=normal, platform=ANY, specificationLevel=0.0, moz:accessibilityChecks=false, acceptInsecureCerts=false, browserVersion=54.0, platformVersion=4.4.0-83-generic, moz:processID=1588.0, browserName=firefox, javascriptEnabled=true, platformName=linux}]\nSession ID: db32cc7b-e8ee-42e6-b335-fb2e2f8eeaff',
localizedMessage: 'POST /session/db32cc7b-e8ee-42e6-b335-fb2e2f8eeaff/log did not match a known command\nBuild info: version: \'3.4.0\', revision: \'unknown\', time: \'unknown\'\nSystem info: host: \'ubuntu-16\', ip: \'127.0.1.1\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'4.4.0-83-generic\', java.version: \'1.8.0_131\'\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\nCapabilities [{moz:profile=/tmp/rust_mozprofile.nC7YUzpGYbYI, rotatable=false, timeouts={implicit=0.0, pageLoad=300000.0, script=30000.0}, pageLoadStrategy=normal, platform=ANY, specificationLevel=0.0, moz:accessibilityChecks=false, acceptInsecureCerts=false, browserVersion=54.0, platformVersion=4.4.0-83-generic, moz:processID=1588.0, browserName=firefox, javascriptEnabled=true, platformName=linux}]\nSession ID: db32cc7b-e8ee-42e6-b335-fb2e2f8eeaff',
systemInformation: 'System info: host: \'ubuntu-16\', ip: \'127.0.1.1\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'4.4.0-83-generic\', java.version: \'1.8.0_131\'',
supportUrl: null,
cause: null,
suppressed: [],
message: 'POST /session/db32cc7b-e8ee-42e6-b335-fb2e2f8eeaff/log did not match a known command\nBuild info: version: \'3.4.0\', revision: \'unknown\', time: \'unknown\'\nSystem info: host: \'ubuntu-16\', ip: \'127.0.1.1\', os.name: \'Linux\', os.arch: \'amd64\', os.version: \'4.4.0-83-generic\', java.version: \'1.8.0_131\'\nDriver info: org.openqa.selenium.firefox.FirefoxDriver\nCapabilities [{moz:profile=/tmp/rust_mozprofile.nC7YUzpGYbYI, rotatable=false, timeouts={implicit=0.0, pageLoad=300000.0, script=30000.0}, pageLoadStrategy=normal, platform=ANY, specificationLevel=0.0, moz:accessibilityChecks=false, acceptInsecureCerts=false, browserVersion=54.0, platformVersion=4.4.0-83-generic, moz:processID=1588.0, browserName=firefox, javascriptEnabled=true, platformName=linux}]\nSession ID: db32cc7b-e8ee-42e6-b335-fb2e2f8eeaff',
hCode: 422134926,
class: 'org.openqa.selenium.UnsupportedCommandException',
buildInformation:
{ buildRevision: 'unknown',
buildTime: 'unknown',
releaseLabel: '3.4.0',
hCode: 56272199,
class: 'org.openqa.selenium.internal.BuildInfo'
},
screen: null
}
Test settings for FF are taken from Nightwatch.js configuration sample:
"desiredCapabilities": {
"browserName": "firefox",
"marionette": true
}
Is there any headway on this? I've been able to reproduce this.
This issue has been automatically marked as stale because it has not had any recent activity.
If possible, please retry using the latest Nightwatch version and update the issue with any relevant details. If no further activity occurs, it will be closed. Thank you for your contributions.
Most helpful comment
Is there any headway on this? I've been able to reproduce this.