selenium webdriver send ctrl enter key simultaneously

www.‮ual‬tturi.com
selenium webdriver send ctrl enter key simultaneously
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_experimental_option('excludeSwitches', ['enable-logging'])
browser = webdriver.Chrome(executable_path='F:\chromedriver.exe',options=chrome_options)

browser.get(base_url)
body = browser.find_element_by_xpath('//body')
body.sendKeys(Keys.CONTROL + "ENTER");
Created Time:2017-10-08 20:39:35  Author:lautturi