我有Selenium自动化框架,Cucumber with Serenity。每当我执行脚本时,它打开6-7个不同的IE浏览器。到目前为止,我已经尝试了以下几种方法。
从互联网为所有区域启用
<br> serenity.driver.capabilities="forceCreateProcessApi:true;
single-window:true;
nativeEvents:true;INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS:true;
IE_ENSURE_CLEAN_SESSION:true" <br><br>
如果我遗漏了什么,请告诉我。
注意:我在计算机上使用的是Internet Explorer 11
发布于 2018-08-08 09:35:04
尝试更新到最新的IE驱动程序:https://www.seleniumhq.org/download/
https://stackoverflow.com/questions/45920474
复制相似问题