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

Fetch deviceName for current capability #1732

Closed
mindmelting opened this issue Jan 15, 2015 · 3 comments
Closed

Fetch deviceName for current capability #1732

mindmelting opened this issue Jan 15, 2015 · 3 comments

Comments

@mindmelting
Copy link

Hello

I need to have a specific configuration set for each device in my multiCapabilities, I would like to reference this configuration either by deviceName or within the capability object. How would I go about fetching this in my test or in onPrepare?

Thanks

@juliemr
Copy link
Member

juliemr commented Jan 15, 2015

Will the change pending at #1724 solve this for you?

@juliemr
Copy link
Member

juliemr commented Jan 15, 2015

Let me rephrase that to - I believe that #1724 will resolve this for you - it will be in the next release, and is now in master. Use with browser.getProcessedConfig().then(function(config) { config.capabilities.deviceName... });

Closing this issue since it will be resolved in the next release!

@juliemr juliemr closed this as completed Jan 15, 2015
@mindmelting
Copy link
Author

Amazing, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants