moved global desiredCapabilities porperty to tasks