“您正在使用不受支持的命令行标志:--disable-web-security。稳定性和安全性将遭受“错误 [英] Got "you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer" error

查看:486
本文介绍了“您正在使用不受支持的命令行标志:--disable-web-security。稳定性和安全性将遭受“错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Selenium RC for Google Chrome时,出现以下错误:



您使用的是不受支持的命令行标志:--disable-web-security。稳定性和安全性将受损。
我不知道chrome有什么问题。

解决方案

标记的引用代码 --disable-web-security


//不强制执行同源策略。 (用于测试他们的
站点的人员)。

const char kDisableWebSecurity [] =disable-web-security;

它禁止使用交叉脚本代码,你在做什么selenium RC?


I got this below error while using Selenium RC for Google Chrome

you are using unsupported command-line flag: --disable-web-security. Stability and security will suffer. I don't know whats the issue with chrome.

解决方案

Reference code for flag --disable-web-security

// Don't enforce the same-origin policy. (Used by people testing their sites.)

const char kDisableWebSecurity[] = "disable-web-security";

It disallows cross scripting code, what are you doing on selenium RC?

这篇关于“您正在使用不受支持的命令行标志:--disable-web-security。稳定性和安全性将遭受“错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆