当前位置:网站首页>selenium 组合键操作
selenium 组合键操作
2022-06-29 17:33:00 【bobob_】
public void windowsKeyCtrlR(TestStep step) throws Exception {
try {
Robot robot = new Robot();
robot.keyPress(KeyEvent.VK_CONTROL);
robot.keyPress(KeyEvent.VK_R);
robot.keyRelease(KeyEvent.VK_CONTROL);
robot.keyRelease(KeyEvent.VK_R);
if (Constants.ISDEBUG) System.out.println("执行了ctrl+r");
} catch (Exception e) {
e.printStackTrace();
if (Constants.ISDEBUG) System.err.println(Constants.LogCustom+"windowsKeyCtrlR");
}
}
边栏推荐
- Redis principle - sorted set (Zset)
- R language ggplot2 visualization: use the patchwork package (directly use the plus sign +) to horizontally combine a ggplot2 visualization result and a plot function visualization result to form the f
- KUKA子程序/函数怎么建立和使用方法
- PCB板框的绘制——AD19
- How to establish and use KUKA subroutines / functions
- PCB frame drawing - ad19
- 0基础自学STM32(野火)——寄存器点亮LED
- R语言ggplot2可视化:使用patchwork包(直接使用加号+)将两个ggplot2可视化结果横向组合、接着再和第三个图像横向组合起来(三幅图各占比例为50%、25%、25%)
- Bags of Binary Words for Fast Place Recognition in Image Sequenc
- Open source warehouse contribution - submit pr
猜你喜欢

mysql.sock的概念是什么

0 basic self-study STM32 (wildfire) -- use register to light LED -- Explanation of GPIO function block diagram

传承中华美德,关注中老年大健康,育润奶粉敬老情浓

PCB板框的绘制——AD19

How to solve MySQL 1045 error in Linux
![[the sixth operation of modern signal processing]](/img/49/7844a00077e56fd4d73e3ba515f8a6.png)
[the sixth operation of modern signal processing]

Online sql to CSV tool

Mysql中锁的使用场景是什么
Master slave replication of MySQL

Online text digit recognition list summation tool
随机推荐
The fixed assets management system enables enterprises to dynamically master assets
[Oracle] basic knowledge interview questions
PancakeSwap技术:夹子机器人系统开发原理
SRM系统可以为企业带来什么价值?
Bottom level internal skill cultivation
基于STM32F103ZET6库函数定时器中断实验
R语言ggplot2可视化:使用patchwork包(直接使用加号+)将一个ggplot2可视化结果和一个plot函数可视化结果横向组合起来形成最终结果图
SpingMVC请求和响应
【现代信号处理第六次作业】
关于harbor私有仓库忘记登录密码
[the sixth operation of modern signal processing]
How to solve the 2003 error of MySQL in Linux
自学结构体(小甲鱼c语言)
在线文本数字识别列表求和工具
手把手教你在windows上安装mysql8.0最新版本数据库,保姆级教学
What are the usage scenarios for locks in MySQL
mysql.sock的概念是什么
Bags of Binary Words for Fast Place Recognition in Image Sequenc
Collaborative development of epidemic home outsourcing project 𞓜 community essay solicitation
基于STM32F103ZET6库函数串口实验