删除所有可见的Cookie会引发例外 [英] Delete all visible cookies raises an exception
本文介绍了删除所有可见的Cookie会引发例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用selenium与一个python客户端。当执行selenium.delete_all_visible_cookies时会出现异常:
I am using selenium with a python client. When doing selenium.delete_all_visible_cookies I get the exception:
错误:命令执行失败。
请在
http://clearspace.openqa.org 的论坛中搜索错误
日志窗口中的详细信息。
错误消息是:格式错误的URI
序列
ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: malformed URI sequence
日志窗口的错误是:
error(1254427481456): Exception details:
message -> malformed URI sequence,
fileName -> http://localhost:4444/selenium-server/core/scripts/selenium-browserbot.js,
lineNumber -> 1169,
stack ->
("WSS_GW",[object HTMLDocument])@http://localhost:4444/selenium-server/core/scripts/selenium-browserbot.js:1169
("WSS_GW",".mysite","/",[object HTMLDocument])@http://localhost:4444/selenium-server/core/scripts/selenium-browserbot.js:1208
("WSS_GW",".mysite","/",[object HTMLDocument])@http://localhost:4444/selenium-server/core/scripts/selenium-browserbot.js:1213
("WSS_GW",".mysite","/",[object HTMLDocument])@http://localhost:4444/selenium-server/core/scripts/selenium-browserbot.js:1236
("WSS_GW","mysite","/",[object XPCCrossOriginWrapper])@http://localhost:4444/selenium-server/core/scripts/selenium-browserbot.js:1248
("","")@http://localhost:4444/selenium-server/core/scripts/selenium-api.js:2607
("","")@http://localhost:4444/selenium-server/core/scripts/htmlutils.js:60
([object Object],[object Object])@http://localhost:4444/selenium-server/core/scripts/selenium-commandhandlers.js:310
()@http://localhost:4444/selenium-server/core/scripts/selenium-executionloop.js:112
(-10)@http://localhost:4444/selenium-server/core/scripts/selenium-executionloop.js:78
(-10)@http://localhost:4444/selenium-server/core/scripts/htmlutils.js:60 ,
name -> URIError
任何想法发生了什么事?
Any idea what's going on?
推荐答案
要查看错误: http://jira.openqa .org / browse / SEL-712
这篇关于删除所有可见的Cookie会引发例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文