当前位置:网站首页>automated testing
automated testing
2022-06-25 02:46:00 【InfoQ】
What is? IE Pattern

1. IE The following modes are supported Internet Explorer function
- All document patterns and enterprise patterns .
- ActiveX Control ( for example Java or Silverlight). Be careful:Silverlight Will be in 2021 year 10 month 12 End of support .
- Browser Helper Object
- Internet Explorer Group settings and group policies that affect security zone settings and protected mode
- Apply to IE Of F12 Developer Tools , along with IEChooser Start together
- Microsoft Edge Expand ( Direct and IE Extension of page content interaction .
2. IE Mode does not support the following Internet Explorer function
- Internet Explorer The toolbar
- Control the navigation menu Internet Explorer Settings and group policies for .
- IE11 or Microsoft Edge F12 Developer Tools
3. How to set up

Python How to achieve IE Pattern
1. download IEDriver

2. install selenium library
pip install selenium3. Sample code
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
ie_options = webdriver.IeOptions()
ie_options.attach_to_edge_chrome = True
ie_options.edge_executable_path = "C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"
driver = webdriver.Ie(executable_path=r"D:\IEDriverServer.exe", options=ie_options)
driver.get("http://www.bing.com")
elem = driver.find_element(By.ID, 'sb_form_q')
elem.send_keys('IT volute -Tango' + Keys.RETURN)
driver.quit()
边栏推荐
- LINQ 查询(3)
- 自动化测试
- Mall project pc--- product details page
- 一线城市软件测试工资——你拖后腿了吗
- C#实现水晶报表绑定数据并实现打印
- 转行软件测试2年了,给还在犹豫的女生一点建议
- 爱
- Rod and Schwartz cooperated with ZhongGuanCun pan Lianyuan Institute to carry out 6G technology research and early verification
- yarn : 无法加载文件 C:\Users\xxx\AppData\Roaming\npm\yarn.ps1,因为在此系统上禁止运行脚本
- 运行时修改Universal Render Data
猜你喜欢

华为、阿里等大厂程序员真的好找对象吗?

都2022年了,你还不了解什么是性能测试?

Intranet learning notes (5)

折叠屏将成国产手机分食苹果市场的重要武器

After reciting the eight part essay, I won the hemp in June

Transformers Roberta如何添加tokens

电脑端微信用户图片DAT格式解码为图片(TK版)

Rod and Schwartz cooperated with ZhongGuanCun pan Lianyuan Institute to carry out 6G technology research and early verification

qt打包exe文件,解决“无法定位程序输入点_ZdaPvj于动态链接库Qt5Cored.dll”

进入阿里做测试员遥不可及?这里或许有你想要的答案
随机推荐
AI服装生成,帮你完成服装设计的最后一步
Jetson Nano 从入门到实战(案例:Opencv配置、人脸检测、二维码检测)
[i.mx6ul] u-boot migration (VI) network driver modification lan8720a
QT package the EXE file to solve the problem that "the program input point \u zdapvj cannot be located in the dynamic link library qt5cored.dll"
Lihongyi, machine learning 6 Convolutional neural network
Qt中使用QDomDocument操作XML文件
C#实现水晶报表绑定数据并实现打印
It is said that Yijia will soon update the product line of TWS earplugs, smart watches and bracelets
Leetcode 210: curriculum II (topological sorting)
一线城市软件测试工资——你拖后腿了吗
vim的Dirvish中文文档
常用的软件测试工具清单,请查收。
It's 2022, and you still don't know what performance testing is?
Call system function security scheme
折叠屏将成国产手机分食苹果市场的重要武器
|How to analyze bugs? Professional summary and analysis
Application of TSDB in civil aircraft industry
AOSP ~ 默认属性值
Leecode learning notes - the shortest path for a robot to reach its destination
NPM package publishing tutorial