I cannot select an href with Mechanize. I have done so successfully in the past with the following methods, but for this website it does not seem to work. Does anyone have any ideas? 

Here is a snippet of the output of just the selector:

```
<div class="component-user-name component-user-name-15">
<a class="name-page-link" data-reco-action="view"   
href="/profile/name">Name</a>

```

These are my attempts:

```
agent.page.search(".selector a").map {|link| link["href"]}
agent.page.search(".selector a["href"]")
agent.page.search(".selector a")[0]["href"]
agent.page.search(".selector a").attribute["href"]

```