Now I'm in stuck, because identify the locators I want to click on the google map info window . I tried to do linktext but the linktext not working as expected. it shows an error like
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"link text","selector":"XYZ"}
<div><a href="javascript:void(0);" class="nodecoration" alt="132">XYZ</a></div>
the 'XYZ' is an info window title on google map
waitElement.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@id=\'map\']/div/div/div[1]/div[4]/div[4]/div[2]/div[2]/div[1]/div/a")));
MobileElement element5 =(MobileElement) driver.findElement(By.xpath("//*[@id=\'map\']/div/div/div[1]/div[4]/div[4]/div[2]/div[2]/div[1]/div/a"));
waitElement.until(ExpectedConditions.elementToBeClickable(By.linkText("XYZ")));
MobileElement element6 = element5.findElement(By.linkText("XYZ"));