Selenium IDE回放报错:[error] Window does not exist..急求高人指点 5
用Selenium进行录制时,进入一个网页,点击该网页的任何一部分都会有:selectWindow=name=rawtext_search但是回放时这句语句总是报以下错误...
用Selenium进行录制时,进入一个网页,点击该网页的任何一部分都会有:selectWindow=name=rawtext_search
但是回放时这句语句总是报以下错误:下面是log日志
[error] Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential workarounds.
下面是Reference中的解释: 展开
但是回放时这句语句总是报以下错误:下面是log日志
[error] Window does not exist. If this looks like a Selenium bug, make sure to read http://seleniumhq.org/docs/02_selenium_ide.html#alerts-popups-and-multiple-windows for potential workarounds.
下面是Reference中的解释: 展开
1个回答
2015-03-26
展开全部
这个是一个selenium bug
修复过程
you can fix it by yourself. Here is how I did it:
1. search for "selenium-ide-common.xul" file in "C:\Documents and Settings\<your user
name>\" folder
2. edit it and add the following code in e.g. line 64:
<script type="application/x-javascript"
src="chrome://selenium-ide/content/selenium/scripts/xmlextras.js"/>
3. restart Firefox.
DONE! Good luck
如果修复了请在回复下,验证这个方法是否有!
修复过程
you can fix it by yourself. Here is how I did it:
1. search for "selenium-ide-common.xul" file in "C:\Documents and Settings\<your user
name>\" folder
2. edit it and add the following code in e.g. line 64:
<script type="application/x-javascript"
src="chrome://selenium-ide/content/selenium/scripts/xmlextras.js"/>
3. restart Firefox.
DONE! Good luck
如果修复了请在回复下,验证这个方法是否有!
追问
"selenium-ide-common.xul" 这个文件根本就找不到啊,是这个吗?
微测检测5.10
2023-05-10 广告
2023-05-10 广告
您好!建议咨 深圳市微测检测有限公司,已建立起十余个专业实验室,企业通过微测检测就可以获得一站式的测试与认 证解决方案;(EMC、RF、MFi、BQB、QI、USB、安全、锂电池、快充、汽车电子EMC、汽车手机互 联、语音通话质量),认证遇...
点击进入详情页
本回答由微测检测5.10提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询