当前位置:网站首页>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");
}
}
边栏推荐
- How to create and delete MySQL triggers
- R语言epiDisplay包的aggregate函数将数值变量基于因子变量拆分为不同的子集,计算每个子集的汇总统计信息、aggregate.data.frame函数包含缺失值的情况下分组统计结果为NA
- NVIDIA安装最新显卡驱动
- Mysql高可用集群–MHA
- epoll分析
- Collaborative development of epidemic home outsourcing project 𞓜 community essay solicitation
- 第42期:MySQL 是否有必要多列分区
- 关于Go中两个模块互相调用的场景解决方案
- mysql支持外键吗
- 关于KALI使用xshell连接
猜你喜欢

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

手把手教你在windows上安装mysql8.0最新版本数据库,保姆级教学

Openfeign use step polling strategy and weight log4j configuration of openfeign interceptor

sequential detector

windows平台下的mysql启动等基本操作

Online text digit recognition list summation tool

序列检测器

OpenFeign使用步骤 轮询策略与权重 log4j使用 openFeign拦截器的配置

Function calculation asynchronous task capability introduction - task trigger de duplication

mysql查询视图命令是哪个
随机推荐
What role does the supply chain management system play in the supply chain scenario?
epoll分析
linux中mysql 1045错误如何解决
SRM系统是什么系统?如何应用SRM系统?
Kubernetes deployment dashboard (Web UI management interface)
Sectigo ov pan domain name certificate is 1590 yuan a year easy to use
疫情居家外包项目之协作开发| 社区征文
Bottom level internal skill cultivation
How to solve MySQL 1045 error in Linux
Function calculation asynchronous task capability introduction - task trigger de duplication
External automatic (PLC start robot)
Issue 42: is it necessary for MySQL to have multiple column partitions
基于STM32F103ZET6库函数PWM输出实验
Opencv+YOLO-V3实现目标跟踪
Open source warehouse contribution - submit pr
SAAS 服务的优势都有哪些
R语言使用自定义函数编写深度学习Leaky ReLU激活函数、并可视化Leaky ReLU激活函数
Freedom自由协议质押挖矿系统开发
Self taught structure (small turtle C language)
How to use interrupt