I have recently moved to Selenium 3.14 and
is deprecated in the same. What can I use instead of it? JavaDocs only say that use new Interactions API but I can't find any new documentation around it.
InstructorSupport Team Reply on 09/04/2019
Parts of Actions class is deprecated as it has been moved to new Interactions class.
But the method that we need to use is not deprecated.
Use of the method below makes it to be used with webdriver.
Actions act = new Actions(driver);
But when I give
it complains that it can't find Actions class.
And this is the code where I am using Actions class:
Actions action = new Actions(getDriver());
action.moveToElement(findElementByXpath(DELETE_CONFIRMATION_TEXT).element()).sendKeys(Keys.chord(Keys.TAB, Keys.TAB, Keys.ENTER));
InstructorSupport Team Reply on 22/04/2019
I am not sure but I am able to do it
May be you have not included all jars
its not depricated