CSS fails (Newbie question)

Hi,

I’m trying to retrieve an url from a menubar but I can’t get it to work.

This is a fragment of the html code:

This is a piece of my Gatling code:

.check(css(“a:contains(‘Events’)”, “href”).saveAs(“ref”))

What am I doing wrong?
And this is the output (also fragment):

css((a:contains(‘Events’),Some(href))).find(0).exists, found n 1 (100,0%)

othing

What am I doing wrong? Thank you in advance.

Ed