added passing wd instance to TestRun and overwriting browser setting when using as node module