2
如果我的網頁使用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
元素?