I am trying to run a test in the beta version of Google Chrome 9.0.597.98 using Selenium Grid. I am firing the test with C # using the default * googlechrome target that comes with the Selenium Grid. When I try to open a site, I am greeted "Unable to call the" indexOf "method from undefined" .
I found a message from someone who suggested that the solution is to slightly reduce Chrome's security by passing some parameters. This post suggests using something like this:
DefaultSelenium selenium = new DefaultSelenium(location, port, browser, targetPath);
BrowserConfigurationOptions bco = new BrowserConfigurationOptions();
selenium.start(bco.setCommandLineFlags("--disable-web-security"));
For some reason, I do not see BrowserConfigurationOptionsanywhere. Is this something that comes with the Selenium dll? Is this something that is not available in the .NET version, but is in others? What options should I set for this option --disable-web-security and is there a better way to do this?

source
share