You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Hi,
I am trying to scrape all hyperlinks by using the following, but it does not seem to work. In a bunch of examples I have seen tagName was an example used, but my compiler Visual Studio 2022 is telling me it is deprecated. Any help would be most appreciated. In javascript.
let element = driver.findElement(By.css('a')); let elements = await element.findElements(By.css('a')); for (let e of elements) { console.log(await e.getText()); }