Add function getDesiredCapabilities()