当前位置:网站首页>Selenium key combination operation
Selenium key combination operation
2022-06-29 17:40: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(" Yes ctrl+r"); } catch (Exception e) { e.printStackTrace(); if (Constants.ISDEBUG) System.err.println(Constants.LogCustom+"windowsKeyCtrlR"); } }
边栏推荐
- R语言ggplot2可视化:使用patchwork包(直接使用加号+)将一个ggplot2可视化结果和一个plot函数可视化结果横向组合起来形成最终结果图
- 设置双击运行 jar 文件
- 关于Go中两个模块互相调用的场景解决方案
- mysql视图能不能创建索引
- 在线SQL转CSV工具
- linux中mysql 1045错误如何解决
- Openfeign use step polling strategy and weight log4j configuration of openfeign interceptor
- How to solve MySQL 1045 error in Linux
- 迈动互联中标大家保险集团
- Does MySQL support foreign keys
猜你喜欢
How MySQL queries character set codes of tables
剑桥大学教授:经常吃早餐害处多,很危险 - 知乎
分割回文串[dp + dfs组合]
如何使用B/S开发工具DevExtreme的图表控件 - 自定义轴位置?
Redis 原理 - Sorted Set (ZSet)
Master slave replication of MySQL
腾讯云发布自动化交付和运维产品Orbit,推动企业应用全面云原生化
Tencent cloud released orbit, an automated delivery and operation and maintenance product, to promote enterprise applications to be fully cloud native
How to create and delete MySQL triggers
mysql.sock的概念是什么
随机推荐
人脸识别4-百度商用方案调研
OpenFeign使用步骤 轮询策略与权重 log4j使用 openFeign拦截器的配置
Sword finger offer 13 Robot range of motion (BFS)
SRM供应商协同管理系统功能介绍
Error:Connection refused: connect
R language uses GLM of mass package The Nb function establishes the negative binomial generalized linear model, and the summary function obtains the summary statistical information of the negative bin
What is the function of MySQL cursors
Automatic vending machine
Redis principle - sorted set (Zset)
Go语言多方式并发实现龟兔赛跑
Does MySQL support foreign keys
First batch! Tencent cloud's ability to pass the solution of the government affairs collaboration platform of the China Academy of ICT
Viewing splitchunks code segmentation from MPX resource construction optimization
Yurun multidimensional makes efforts in the charity field and bravely resists the corporate public welfare banner
The fixed assets management system enables enterprises to dynamically master assets
regular expression
Self taught structure (small turtle C language)
Issue 42: is it necessary for MySQL to have multiple column partitions
MySQL highly available cluster – MHA
在线SQL转CSV工具