Node Version: v6.9.4
Protractor Version: 5.1.1
Angular Version: 1.2.28
Browser(s): Chrome:Version 58.0.3029.96 (64-bit) Chrome WebDriver:Version 2.29
Operating System and Version: MAC OS Siera 10.12.3
protractor configuration file
exports.config = {
directConnect: true,
capabilities: {
'browserName': 'chrome'
},
framework: 'jasmine',
specs: ['./Test/LoginTest.js'],
allScriptsTimeout: 120000,
getPageTimeout: 120000,
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 120000
}
A relevant example test
There is button in the page, when i try to click using protractor , It throws time out error . Unable to click on the element. Same thing work on selenium webdriver.
Step to Reproduce
Step 1: Open website using this URL https://www.neonmob.com/login
Step 2: Enter the user name and password mentioned below and click on Login button
UserName: sharif33332
Password: 1234
Step 3: After login navigate to this URL https://www.neonmob.com/shariftestuser
to navigate to exact page where problem occurs.
Issue :Now at this page unable to click on Trade Button and it throws time out exception error.
Same element can be found using jQuery. Please follow the above steps to reproduce this issue.
Used the below code to click on this button
element(by.css("span[id='trade-btn']")).click();
Please let me know if you are not able to follow the steps. I believe there is an issue in protratcor