- Website Link: http://realestate.hommelle.com/
- Username: sunil
- password: sunil@123
After login to the site in the top right of the screen there is an element(down arrow) in the web page which will expand after clicking on it. But when I am inspecting the element I can see it is in ::after. I have searched in Google and come to know it is a "pseudo element". I have tried like below:
@FindBy(xpath="//div[@class='user-name']")
private WebElement downArrow;
public void clickOnDownArrow() {
Actions action = new Actions(driver);
action.moveToElement(this.downArrow).moveByOffset(124, 0).click().build().perform();
}
But I am not able to locate the element and hence could not click on it. Please help me on this. I have given the website URL and credentials as well.