i have a link on a webpage like this:
example.com
here's how i get the href/url for the link and store it in a variable in sahi:
var $link_url;
_set($link_url, _link("example.com").href);
now $link_url has the following value:
http://example.com
thanks to this sahi forum post for pointing me in the right direction:
How do I get a list of links in the page
IT, computer and programming tutorials and tips that i couldnt find anywhere else using google, from my daily work as a Senior Developer of solutions using Java and Linux.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment