Protractor Match Text

独自空忆成欢 提交于 2020-01-03 02:26:47

问题


How would I write a protractor function that will search the page for a string of text and return a state of whether or not that string of text is present on the page, visible, hidden, etc.

The idea is to fulfill the step definitions for "I shall see" such that I can say "I shall see" for all visible elements, and "I should not see" for hidden elements"

来源:https://stackoverflow.com/questions/23791225/protractor-match-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!