add optional takeScreenshot desired capability

add tests for desired capabilities