3
내가각도기를 사용하여 하나씩 모든 링크를 클릭하는 방법?
it("should click all the links one by one", function()
{
browser.get("https://angularjs.org");
var allLinks=element.all(by.tagName("a"));
var number=allLinks.count();
expect(number).toEqual(80);
})
이 부분 below-으로 VAR에있는 모든 링크 요소를 저장 한 잘 작동, 지금은 하나 하나
과 같은 작업을 수행 할 수 있습니다. 정말 고맙습니다 –