When trying to access my iCloud account settings and locate the "Find my iPhone" button on iCloud.com, I am encountering issues with my selectors. It seems like there are no frames on the page, but the Xpaths I'm using are not matching.
Here are the steps I have taken:
- Sign in to my iCloud account
- Search for elements related to "Account settings" and "Find my" buttons
This is my current approach for finding the "Find" button:
WebElement settings=wait.until(ExpectedConditions.
elementToBeClickable
(By.xpath("//div[@class='user-name-with-chevron']")));
settings.click();
And this is what I'm doing to find the Account settings:
WebElement settings = wait.until(ExpectedConditions.
elementToBeClickable(By.xpath
("//div[@class='cw-button symbol-button link-button']")));
settings.click();
I would appreciate any assistance as I am new to this and still learning. Apologies if my questions seem silly.