Unable to locate an element on image-map tag

Hi, I am trying to locate an element on an image-map tag. However, the element is never clicked. Below is the piece of code,  the highlighted portion is the actual code for the element when located using firebug. I have already used relative xpath, css etc .

<map id=”polyMap26_undefined_37 class=”__tcElement width=”174.850356202953px height=”37.58906353507981px name=”polyMap26_undefined_37>
<area class=”__tcElement href=”javascript:void(0); shape=”poly coords=”0,0,0,37.58906353507981,174.850356202953,37.58906353507981,174.850356202953,0/>Unable to locate an element on image-map tag

Steps followed:
Launch www.stg-hybris-akamai.tumi.com
Click on link “Rest of the World”
Click on United States – unable to click on US.

Shobha Default Asked on September 20, 2016 in Selenium WebDriver.
Add Comment
1 Answer(s)

user below code, it may work


testerRD Train Answered on September 22, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.