大佬教程收集整理的这篇文章主要介绍了node.js – 调试protactor(有/没有webstorm),大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
describe('stuff',function(){ it('should find the specs item,and its empty',function(){ browser.debugger(); gotoHome(); var allItems = element.all('li in model.tags'); var specsDashboardElement; for (var i=0 ; i < allItems.length; ++i) { var elem = allItems[i]; var text = elem.findElement(by.css('.li-title').getText()); // does this even work?? dunno if (text == "Specs") specsDashboardElement = elem; } expect(specsDashboardElement.isDisplayed()).toBe(true); });@H_450_8@});
我跟着these instructions,但这是我在Node.js调试器控制台上看到的输出:
就是这样.无论我输入多少类型’cont’,都没有任何反应.
我已经尝试按照WebStorm中的调试说明进行操作,结果大致相同(在WebStorm调试控制台上输出:
).
我在Windows 8上使用节点0.10.26(64位)
想法有人吗?
“修复工作 – 应该在下一个版本发布.感谢您的耐心,大家.” – @juliemr
编辑:发布于0.20.0版本! (Windows用户为0.20.1).见Protractor changelog.
以上是大佬教程为你收集整理的node.js – 调试protactor(有/没有webstorm)全部内容,希望文章能够帮你解决node.js – 调试protactor(有/没有webstorm)所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。