Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

How can i set more command line options for Google Chrome? #2860

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 2860

What steps will reproduce the problem?
--------------------------------------
Hi,
  I want to start Google chrome with --disable-web-security --allow-file-access-from-files
--enable-file-cookies options.
From the BrowserConfigurationOptions--> setCommandLineFlags function i get --disable-web-security
working, but if i give other options it doesn't recognize them and gives below exception:
com.thoughtworks.selenium.SeleniumException: Cannot call method 'indexOf' of undefined


How can i provide multiple command line options to a Browser setting.

What is the expected output? What do you see instead?
---------------------------------------------------
I feel it should consider all command line options but it doesn't.
Rather gives exception.
com.thoughtworks.selenium.SeleniumException: Cannot call method 'indexOf' of undefined



Selenium version:2.11
OS:Windows
Browser:Google Chrome
Brower version:15

Thanks

Reported by yaminee.rajoria on 2011-11-17 05:47:42

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions