mrtns/webchauffeur — pull request #1 by glorylo (2014-04-30 21:07:44+00:00)
Title: moved web driver instance from Context to a singleton Driver class

Martin,

I wanted to move out the driver instance into a singleton. I am making an assumption that we are always going to have only 1 driver.. i.e. we are not opening multiple browsers.

This is the 1st step. Then the pages can hide all references to using the driver. I noticed the test steps have 2 levels of abstraction we wanted:
1. the level of user button clicks and so forth
2. a higher level workflow we want eventually... so something like registration is a good example. we don't have to do go registration page 1, do stuff, registration page 2.