My mocha test case includes printing the webdriver logs at the end, but I'm facing an issue where the logs are returning as an empty array. Even when passing 'browser' as an argument to the logs().get() function, I still encounter the same result. Can anyone shed some light on why the logs are coming up empty?
it('should open a url', function(done){
var By = nemo.wd.By;
driver.manage().logs();
driver.get("http://www.google.com");
driver.findElement(By.name('q')).sendKeys("webdriver");
driver.findElement(By.name('btnG')).click()
driver.manage().logs().get('driver').then(function(logs){
console.log(logs);
done();
});
});