Sauce Labs
All commands are only supported on Chrome using Sauce Labs Extended Debugging capabilities. You can enable these by setting the following Sauce options:
{
browserName: 'Chrome',
browserVersion: 'latest',
platformName: 'Windows 10',
'sauce:options': {
extendedDebugging: true
}
}
getPageLogs
Get webpage specific log information based on the last page load.
Sauce Labs command. More details can be found in the official protocol docs.
Usage
browser.getPageLogs(type)