Validating capabilities values for browser, platform. Setting right constant names