com.opera.core.systems
Class OperaKeyboard

java.lang.Object
  extended by com.opera.core.systems.OperaKeyboard
All Implemented Interfaces:
org.openqa.selenium.Keyboard

public class OperaKeyboard
extends Object
implements org.openqa.selenium.Keyboard

Opera uses the "exec" Scope service to trigger key events in Opera. This service is available on all Opera products, on all devices and follows the same code paths as a user would when pressing a key.


Constructor Summary
OperaKeyboard(OperaDriver parent)
           
 
Method Summary
 void pressKey(org.openqa.selenium.Keys keyToPress)
           
 void releaseKey(org.openqa.selenium.Keys keyToRelease)
           
 void sendKeys(CharSequence... keysToSend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperaKeyboard

public OperaKeyboard(OperaDriver parent)
Method Detail

sendKeys

public void sendKeys(CharSequence... keysToSend)
Specified by:
sendKeys in interface org.openqa.selenium.Keyboard

pressKey

public void pressKey(org.openqa.selenium.Keys keyToPress)
Specified by:
pressKey in interface org.openqa.selenium.Keyboard

releaseKey

public void releaseKey(org.openqa.selenium.Keys keyToRelease)
Specified by:
releaseKey in interface org.openqa.selenium.Keyboard


Copyright © 2012. All Rights Reserved.