i am testing a lightning component in salesforce, when i am trying to locate an element in it its showing me error. this is the element:-Family Records
i tried with all the locator element Like xpath,css .its does not have ID
WebElement Family = driver.findElement(By.cssSelector(".flexipageTabset>.uiTabBar.uiTabItem.title")); Family.click();
its giving me error after clicking on it:-no such element: Unable to locate element: {"method":"css selector","selector":".flexipageTabset>.uiTabBar.uiTabItem.title"}
Aucun commentaire:
Enregistrer un commentaire