How can I simutaneously perform 'CTRL + Enter ' in Selenium WebDriver? -


how can simultaneously perform ctrl+enter↵ in selenium webdriver? tried one:

       body1.sendkeys(keys.control + "enter"); 

but doesn't work.

   string keyspressed =  keys.chord(keys.control, keys.return);    element.sendkeys(keyspressed) ; 

will work you..


Comments

Popular posts from this blog

design - Custom Styling Qt Quick Controls -

Unable to remove the www from url on https using .htaccess -