2019-04-02

Selenium sendkeys for non input like div or p or textarea


1 comment:

  1. Error: unknown error : cannot focus element

    Solution:

    Actions action = new Actions (driver);
    action.moveToElement(xpath element);
    action.click();
    action.sendKeys("string");
    action.build().perform();

    ReplyDelete