F-13529: Taking Screenshot after failed test is broken when using remote...

...Reusable browser session

* added a conditional code which would augment webdriver if it is ReusableRemoteWebDriver