I have environment configuration in my acceptance.suite.yml config file. One of the parameters is language. I need to know this parameter value in the actual test code to be able to drive test steps correctly.
acceptance.suite.yml config content:
class_name: WebGuy
modules:
enabled:
- WebDriver
- WebHelper
- Db
config:
WebDriver:
browser: firefox
env:
eng:
modules:
config:
WebDriver:
url: 'localhost'
lang: en
esp:
modules:
config:
WebDriver:
url: 'localhost'
lang: es
How can I get the language parameter value?