sendKeys() Command of Actions Class - Selenium WebDriver
HTML-код
- Опубликовано: 27 авг 2024
- View Notes here - www.evernote.co...
In this video, I have practically demonstrated using one of the Selenium WebDriver commands of Actions class i.e. sendKeys() Command
webelement.sendKeys("Name", Keys.TAB); - working fine for me Sir
sendKeys of a webelement also working to press any Key
Can you please tell me about ctrl F
Action ac = new Actions(driver);
ac.keyDown(Keys.CONTROL).sendKeys("f").build().perform();
ac.keyUp(Keys.CONTROL).build().perform();