Make specifying platform and browser more flexible.