Retrieve OS, browser and screen resolution of the machine perfoming tests

Above forum to resolve error - cannot-cast-smartwaitwebdriver-to-remotewebdriver