driver.get("https://www.google.com)
I want to simulate the process of pressing the Ctrl+Shift+c
with selenium
I have tried:
1. actions
.keyDown(Keys.CONTROL)
.keyDown(Keys.SHIFT)
.sendKeys("c")
.build()
.perform();
2. action.sendKeys(Keys.chord(Keys.SHIFT + Keys.CONTROL + "c")).perform();
There are many answers in StackOverflow,but nothing works