selenium - When does Protractor throw 'unknown error: cannot determine loading status'..... exception -
can tell me when protractor throw 'unknown error: cannot determine loading status unknown error: unhandled inspector error: {"code":-32000,"message":"internal error: main world execution context not found."}' exception.
i understand "unknown error" thrown wireprotocol , means application returned 4xx or 5xx status code. not sure "internal error: main world execution context not found." means
thanks in advance!
conf.js
exports.config = { framework: 'jasmine', allscriptstimeout: 600000, onprepare: function () { browser.ignoresynchronization = true; browser.manage().timeouts().pageloadtimeout(600000); require('jasmine-reporters'); var jreporter=new jasmine.junitxmlreporter(__dirname + '\\logs', true, true, undefined, true); jasmine.getenv().addreporter(jreporter); }, rootelement: 'body', chromedriver: 'c:/node_modules/protractor/selenium/chromedriver.exe', capabilities: { 'browsername': 'chrome', 'chromeoptions': {'debuggeraddress': 'localhost:8088'} }, jasminenodeopts: { isverbose: true, showcolors: true, includestacktrace: true, defaulttimeoutinterval: 900000 }, oncomplete: function () {}, oncleanup: function() { }, specs: ['./sampletest.spec.js'] };
Comments
Post a Comment