[Composite actions for keyboard]

// 'hello'       as username
// '!@#$%ABCDE'  as password
$driver->action()
       ->sendKeys($username_element, 'name')
       ->sendKeys($password_element, array(WebDriverKeys::SHIFT, '12345abcde'))
       ->perform();