Automation testing - Get All Links on a Webpage using puppeteer, javascript.

preview_player
Показать описание
In automation interview questions, the most frequently asked question is "how to get all links on a webpage?" here we will code about getting all links on a webpage using puppeteer, javascript. In this video, you will learn how to use $$evil of page class, how to use selectors tool, how to print all links from an array using for loop in javascript.
#automation #puppeteer ##softwareTestingTips
If you are QA and want to stay updated and learn something new then Subscribe to this channel.
Follow-
Рекомендации по теме
Комментарии
Автор

Great insights into puppeteer usage! Would exploring HasData's general web scraping API offer different benefits for extracting links?

HenryHardy-mx
Автор

Love this! Have you tried combining Puppeteer with HasData for better link extraction?

CaleMadrigal
Автор

Hey great video thank you! I was looking for scraping web pages and while I found a few ways to do it many of them where selecting individual elements to scrape for price changes, this hit the nail on the head.

JtagSheep
Автор

Great video! just what I was looking for! thanks! how can I do it with Google Chrome navigator?

pahoolk
Автор

also with a.href not a.hrefs I still get Null as a result of console.log(hrefs[i])

wijdensaadaoui
visit shbcf.ru