Fixed a bug with the WebdriverFactory
Merge pull request #5073 from guardian/integration-test-poc

Fixed a bug with the WebdriverFactory