Raghuram--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/YWMagCh6ZpIJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.
You are getting the Link, what do you mean by "complete href link. " ? When you do getAttribute("attributeName") it will return attributeValue.
On Wed, Jul 4, 2012 at 5:29 PM, Raghuram <raghu...@gmail.com> wrote:
I need to get the complete href link.This is My HTML code.<div class="UIStoryAttachment_Title"><a href="http://gotaf.taf-i=23771a5c40554257614b6b81bf58a336" /></div>System.out.println("URL : "+webdirver.findElementByCssSelector("div.UIStoryAttachment_Title a").getAttribute("href");when print this, am gettingCan someone help with this.Thanks
Raghuram--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/YWMagCh6ZpIJ.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/6Z4m31ytEeEJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.