All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openqa.selenium.internal.seleniumemulation.ShiftKeyDown Maven / Gradle / Ivy

There is a newer version: 2.0rc2
Show newest version
package org.openqa.selenium.internal.seleniumemulation;

import org.openqa.selenium.WebDriver;

public class ShiftKeyDown extends SeleneseCommand {
  private final KeyState keyState;

  public ShiftKeyDown(KeyState keyState) {
    this.keyState = keyState;
  }

  @Override
  protected Void handleSeleneseCommand(WebDriver driver, String locator, String value) {
    keyState.shiftKeyDown = true;
    return null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy