Selenium - Keyboard Events

Keyboard Events

 

Context click to open the Links on page

openLnks = Keys.chord(Keys.CONTROL, Keys.ENTER);

link.sendKeys(openLnks);

 

To select the text starting from home to end

sendKeys(Keys.HOME, Keys.chord(Keys.SHIFT, Keys.END));

Comments

Popular posts from this blog

QA's approach 2 Java - Collections Framework & Generics Introduction

QA Insights - Test management using Microsoft Test Manager [Novice to Advanced]

QA's approach 2 Java - File Creation with Date and Time