Print in console a url present in DOM


I’m creating a test case who verify if a single url is present in my DOM. Is there a method to print in console the url refined?


The WebUI.comment API is a simple interface to print to the log/console. Just pass it a string and voila.

That could be a solution. I would like to get the link that interests me directly from the DOM, without having to pass it me