New answers tagged

0

I used both of the tools and I would see if you have a huge product with lots of advanced and difficult situations, then use protractor, otherwise use cypress. Both tools work great!


0

Assuming you have a pagebject method pageObject.selectCheckbox(idx) which select a checkbox using index. and pageObject.verify("Message") which takes in the expected message and verifies its present. let final = [] printCombination = function (arr, n, r) { data = Array(r) combinationUtil(arr, data, 0, n - 1, 0, r) } combinationUtil = ...


0

Your code is working fine , which protractor version are you using. Try using full path as mentioned in other answer and also try replacing CHromeoptions with googchromeOptions if first is nt working (new protractor version everything should work fine with justt chromeoption): https://github.com/SeleniumHQ/selenium/issues/5292 'capabilities': { '...


0

The ChromeDriver documentation states "Relative paths do not always work. For best result, use full path instead.". Explanation why it's not always working is lacking though. Using an absolute path should fix the issue. Detailed information can be found in the links below. ChromeDriver documentation https://chromedriver.chromium.org/capabilities ...


Top 50 recent answers are included