Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new test to test JSON and arrays #126

Merged
merged 5 commits into from
Apr 14, 2017
Merged

A new test to test JSON and arrays #126

merged 5 commits into from
Apr 14, 2017

Conversation

teunisnl
Copy link
Contributor

We would like to start chrome with args/extenions; both expect a list of strings
This works:

|script|list fixture   |
|add   |start-maximized|
|$args=|copy list      |

|script         |map fixture   |
|set value      |$args|for|args|
|$chromeoptions=|copy map      |

|script          |selenium driver setup             |
|start driver for|chrome|with profile|$chromeoptions|
|show            |driver description                |

but it does not work using json -DseleniumJsonCapabilities="{\"browserName\":\"chrome\", \"chromeOptions\":{\"args\":[\"start-maximized\"]}}"

Tried it with the use of Gson then it works fine; (included in this pull request)
Maby you can fix your parser for the new test so gson isn't needed

@fhoeben fhoeben merged commit 3af2389 into fhoeben:master Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants