I would like to send two simultaneous keys such as ALT+S
to the sendKeysToActiveElement(
function of the R Selenium webdriver. I only see implementations in Java and C. Can this be done?
Use below code :-
String selectAll = Keys.chord(Keys.ALT, "s");
driver.findElement(By.xpath("YOURLOCATOR")).sendKeys(selectAll);
Hope it will help you :)