Check Broken Links in WebdriverIO
Автор: Front-end Testing with Kevin
Загружено: 2018-04-04
Просмотров: 3695
I had a viewer ask about checking broken links in WebdriverIO. It's a great question (although WebdriverIO may not be the most appropriate solution as there are tools that can do it quicker).
It covers a lot of details, from selecting multiple elements, using 'map' and 'forEach' on the results, and integrating other node modules in to your tests.
Code:
https://github.com/wdio-wed/broken-li...
Links:
WebdriverIO's getAttribute Command:
http://webdriver.io/api/property/getA...
"The Internet" Test Suite:
http://the-internet.herokuapp.com/
Chai's 'below' assertion:
http://www.chaijs.com/api/bdd/#method...
JS Map function:
• Map - Part 2 of Functional Programming in ...
Async/Await
• async / await in JavaScript - What, Why an...
Node Fetch:
https://www.npmjs.com/package/node-fetch
My WebdriverIO Course
https://learn.webdriver.io
WebdriverIO Wednesdays is a video series going through various WebdriverIO concepts, mainly focused around real-world test scripts.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: