Selenium在添加cookie时“Can only set Cookies for the current domain”错误处理
来源:互联网 发布:ubuntu更改系统语言 编辑:程序博客网 时间:2024/06/01 09:56
在用selenium添加cookie时遇到了“Can only set Cookies for the current domain”错误,经过一番搜索验证。
问题原因大概如下:某些网页里面用了一些selenium不支持的cookie键。
问题解决:通过try/except
忽略这种错误继续执行就OK了,不影响正常功能。
阅读全文
1 0
- Selenium在添加cookie时“Can only set Cookies for the current domain”错误处理
- Can not set the value of read-only property 'jniFolders' for task ': android: packageDebug
- 安装apache_2.2.4时选择only for the Current User, on 8080, when started Manually
- wireshark在mac上使用时到遇到:no interface can be used for capturing in this system with the current configur
- magento - Serve the following static resources from a domain that doesn't set cookies
- 关于ORA-01461: can bind a LONG value only for insert into a LONG column错误处理
- gridview导出exe处理时遇到RegisterForEventValidation can only be called during Render();错误
- Selenium WebDriver 处理cookie
- Selenium WebDriver 处理cookie
- Tomcat中Set-Cookie的Domain错误导致无法登录问题
- The method onCreate in type MainActivity can only set one of public / protec
- Apache 选择"only for the Current User, on 8080, when started Manually"时的服务启动方法及如何修改端口号
- Oracle中对超长内容的处理,避免出现can bind a LONG value only for insert into a LONG column错误
- Oracle中对超长内容的处理,避免出现can bind a LONG value only for insert into a LONG column错误
- 在WebView加载页面时添加cookies
- wireshark:no interface can be used for capturing in this system with the current configuration
- django错误 - Reason given for failure: CSRF cookie not set.
- django错误 - Reason given for failure: CSRF cookie not set.
- jquery実現checkbox切換
- sourceInsight4.0激活方法(转)
- 88年的,17年自学,望大牛建议
- rasa_core:基于机器学习的对话引擎
- VMWare运行时报错“此主机支持 Intel VT-x,但 Intel VT-x 处于禁用状态”的解决方案
- Selenium在添加cookie时“Can only set Cookies for the current domain”错误处理
- HDU
- 八皇后
- POJ 1068--Parencodings
- LightOj1285
- HDU
- [转]PHP Redis基本命令查找
- unity中 字符串与类中GameObject变量的相互引用
- 虽然微不足道但是很有用的JAVA基础—流程控制