I'm trying to press Ctrl + V at the same time on selenium chromedriver, I tried a lot of different combinations, like element.send_keys(Keys.CONTROL, 'V') or very similar things. Nothing worked. I'm working on WIndows 10
According to the docs of the Selenium (The Docs), This is the solution for Control+C:
ActionChains(driver).key_down(Keys.CONTROL).send_keys('c').key_up(Keys.CONTROL).perform()
You can just exchange the 'c' key by 'v' and it should work
you can possibly add the element you trying it to insert into by changing keys.CONTROL to keys.CONTROL, element
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With