I want to get URL in LI tag through X PATH and Validate these URL based on its response code.
Could someone help me to get URL from below and to validate URL using response code.
<li class="menu-link divider">
<a onclick="getSearchOption('Amazon.com','http://www.amazon.com/s?url=');"></a>
</li