When i am executing a jasmine script using protractor, i am getting below message but test step is having lot of elements and i'm not sure which element is not visible, is there any way to capture the non visisble element in console output.
× should able to change first and last name of the existing 'Admin User'
- Failed: element not visible
do i need to do any changes in config file?
my current config is below.
/** * Created by KumarSo on 5/25/2016.
*/
exports.config = {
directConnect: true,
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['../conf/costome_conf.js','../test_spec/EditUserTest_spec.js'],
chromeDriver: C:/Users/KumarSo/AppData/Roaming/npm/node_modules/chromedriver/lib/chromedriver/chromedriver.exe',
framework: 'jasmine2',
multiCapabilities: [{
browserName: 'chrome'
}],
allScriptsTimeout: 100000,
jasmineNodeOpts: {
onComplete: null,
isVerbose: false,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 100000,
print: function () {
}
},
onPrepare: function () {
var SpecReporter = require('jasmine-spec-reporter');
// add jasmine spec reporter
jasmine.getEnv().addReporter(new SpecReporter({
displayStacktrace: true,
displayFailuresSummary: true,
}));
browser.driver.manage().window().maximize();
},
};