cancel
Showing results for 
Search instead for 
Did you mean: 

How do I access the href of an html web element

lulis
Level 3

Im learning, How do I access the href of an html web element?




------------------------------
Lucia Lisdero
------------------------------
1 REPLY 1

HI Lucia 

You can try Xpath or CSS selector to get the hreference value
Ex:
I did one of the site as Css Selector(
a[class="image"]) and able to use read stage get Link address to get URL present in hreference

Check below Sites for Xpath and Css reference you can also enroll in blue Prism university  to understand how to use Xpath and CSS. If I recall course name is something like  Modern browser 
https://www.w3schools.com/xml/xpath_syntax.asp
https://www.w3schools.com/cssref/css_selectors.php
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors
https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors



------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"

Harish Mogulluri
Lead developer
America/New_York TX
------------------------------

-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri