-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
In our environment we define a ${BROWSER} robot variable in an argument file (eg: --variable BROWSER:chrome). We use uppercase as a way to designate this is a global variable. However, it is not being recognized when I use page objects -- it insists on using phantomjs. If I change our argument file to use the lowercase variable name it works, and our browser definition is used.
In other words, this works:
--variable browser:chrome
This doesn't:
--variable BROWSER:chrome
This seems inconsistent, since robot variables are case-insensitive. It was particular puzzling because my other option was to set the all-uppercaae environment variable PO_BROWSER. It would be nice if the page objects machinery supported both lowercase and uppercase variables for setting options.
Metadata
Metadata
Assignees
Labels
No labels