当前位置:网站首页>Selenium: Popup Handling
Selenium: Popup Handling
2022-08-01 05:09:00 【Mouse A who is not afraid of cats】
Popup in HTML
1. In the actual system, a dialog box will pop up to prompt when certain operations are completed, which are mainly divided into three types of dialog boxes: "warning message box", "confirmation message box" and "prompt message dialog"
2. Warning message box: alert
⑴The warning message box provides an "OK" button for the user to close the message box, and the message box is a modal dialog box, which means that the user must close the message box firstThen you can continue.
3. Confirmation message box (confirm)
⑴ The confirmation message box prompts the user a "Yes or No" question, the user can select the "OK" button and the "Cancel" button according to the selection
4. Prompt message dialog (prompt)
⑴The prompt message box provides a text field where the user can enter an answer in response to your prompt
⑵ ⑵The message box has an "OK" buttonand a "Cancel" button.Selecting "Confirm" will respond to the corresponding prompt information, and selecting "Cancel" will close the dialog box

Selenium positioning popup
1. In Selenium, if you simply locate the pop-up window, you cannot locate it
2. Because this pop-up window is not an HTML element, it belongs to the browser's own pop-up window (generated by JavaScript)
边栏推荐
- Selenium:鼠标、键盘事件
- Risk strategy important steps of tuning method
- (2022牛客多校四)D-Jobs (Easy Version)(三维前缀或)
- 请问表格储存中用sql只能查询到主键列,ots sql非主键不支持吗?
- 万字逐行解析与实现Transformer,并进行德译英实战(三)
- Swastika line-by-line parsing and realization of the Transformer, and German translation practice (a)
- 4D line-by-line analysis and implementation of Transformer, and German translation into English (3)
- Li Chi's work and life summary in July 2022
- NDK does not contain any platforms问题解决
- (2022牛客多校四)K-NIO‘s Sword(思维)
猜你喜欢

UE4 从鼠标位置射出射线检测

USB3.0:VL817Q7-C0的LAYOUT指南(二)

56:第五章:开发admin管理服务:9:开发【文件上传到,MongoDB的GridFS中,接口】;(把文件上传到GridFS的SOP)

pytroch、tensorflow对比学习—搭建模型范式(低阶、中阶、高阶API示例)

剑指 Offer 68 - I. 二叉搜索树的最近公共祖先

Dry goods!How to Construct SRv6-TE Performance Test Environment Using Instrumentation

pytroch、tensorflow对比学习—专栏介绍

律师解读 | 枪炮还是玫瑰?从大厂之争谈元宇宙互操作性

Selenium:操作Cookie

状态压缩dp
随机推荐
MySQL-Data Definition Language-DDLdatebase define language
移动应用恶意攻击激增500% 三六零天御为APP免费构建安全屏障
基于Arduino制作非接触式测温仪
Selenium:操作Cookie
LeetCode 27. 移除元素
(2022牛客多校四)H-Wall Builder II(思维)
4D line-by-line analysis and implementation of Transformer, and German translation into English (3)
2022/07/29 入职健海JustFE团队,我学到了高效开发(年中总结)
请问shake数据库中想把源的db0的数据同步到目的db5,参数怎么设置呢?
状态压缩dp
y83. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (14)
ModuleNotFoundError: No module named ‘tensorflow.keras‘报错信息的解决方法
ApiFile
Excel做题记录——整数规划优化模型
NDK does not contain any platforms问题解决
(2022 Nioke Duo School IV) H-Wall Builder II (Thinking)
Robot_Framework:断言
2022年湖南工学院ACM集训第六次周测题解
Pyspark Machine Learning: Vectors and Common Operations
MySQL-DML language-database operation language-insert-update-delete-truncate