In JS, and I think in PHP too, our conventions are to add new lines between curly brackets. It looks like the selenium tests don't specify but my preference would be to add them for clarity.