you can use `browser.css('#portal-globalnav').first.classes`, which does what you expect :wink: