Removed desired capabilities from the code. Cucumber can decide platform and such instead