Selenium Webdriver-Unable to click on link having normalized space.
I have a scenario in which
Click on Customers>>>Pull down menu appears
Click on Customer Search
I am not able to click on Customer Search
Screenshot of HTML code attached
Earlier I was having some issue in finding HTML code the element because of normalized space.
I am able to click on Customers with the following code snippet
WebElement cust = driver
Able to click on customers
Some of code tried for Customer Search which is not working
driver.findElement(By.xpath(“//a[@id=’OfferingAnchorTag0′ and normalize-space(.)=’CustomerSearch’]”)).click();