📜  按 Enter selenium - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:41.638000             🧑  作者: Mango

代码示例4
try {
    Robot robot = new Robot();
    robot.keyPress(KeyEvent.VK_ENTER);
    robot.keyRelease(KeyEvent.VK_ENTER);
    robot.delay(200);
}