Locate Element using selenium

  • enter image description here

    I am trying to locate an element to click in order to Sign In , not able to succeed.

    I tried the below steps,

    Click Element    class=mat-raised-button mat-accent
    Click Element    class=mat-focus-overplay
    Click Button     link=Sign In

  • It seems you are trying to click on the disabled icon. Selenium does not click on the disabled button.

    You can wait until the element gets enabled using WebDriverWait.

    WebDriverWait wait = new WebDriverWait(driver, 15);

Suggested Topics