【发布时间】:2015-12-21 01:52:44
【问题描述】:
如果我的页面是使用 AJAX 请求呈现的,我应该执行类似的操作
waitForElementToBeVisible('.todoListItem');
//that is my custom function that waits
//till element will be rendered
打电话之前:
element(by.model('todoList.todoText')).sendKeys('write first protractor test');
哪个 sendKeys 到 CSS 类 .todoListItem 的元素?
【问题讨论】:
标签: javascript testing selenium-webdriver protractor end-to-end