博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
selenium 的简单警告类弹窗问题解决
阅读量:4227 次
发布时间:2019-05-26

本文共 164 字,大约阅读时间需要 1 分钟。

环境:

系统:Windows7 64位

Python:Python3.6

浏览器:IE11


在使用 selenium 和 IEDriverServer.exe 模拟人的行为进行自动化测试的时候,操作的数据偶尔会出现弹窗,但并不总是出现弹窗,其中一类弹窗比较简单,像下面这种:

                                                      

处理方式也比较简单,如果有弹窗,就点击确定把它点掉:

转载地址:http://udjqi.baihongyu.com/

你可能感兴趣的文章
REALbasic Cross-Platform Application Development
查看>>
The .NET Developer's Guide to Directory Services Programming
查看>>
Software Engineering with Microsoft Visual Studio Team System
查看>>
Search Engine Optimization For Dummies, Second Edition
查看>>
Powerpoint 2003 Just The Steps For Dummies
查看>>
Beginning ASP.NET 2.0 with C#
查看>>
Professional VSTO 2005 : Visual Studio 2005 Tools for Office
查看>>
Building Flash Web Sites For Dummies
查看>>
Service-Oriented Software System Engineering Challenges and Practices
查看>>
Expert One-on-One: Microsoft Access Application Development
查看>>
Managing the IT Services Process
查看>>
Introduction to Cryptography with Java Applets
查看>>
Advanced Wireless Networks : 4G Technologies
查看>>
Professional Java User Interfaces
查看>>
The Database Hacker's Handbook: Defending Database Servers
查看>>
IT Administrator's Top 10 Introductory Scripts for Windows
查看>>
Algorithms and Data Structures: The Science of Computing
查看>>
ASP.NET 2.0 Cookbook
查看>>
Java I/O
查看>>
Visual C# 2005 Demystified
查看>>