jnicklas/capybara — Issue #547: Clicking wrong link when have similar names
Author: sobrinho
Created: 2011-11-21 12:06:31+00:00
State: open

Just like #511 but for links.

I have two links on my page:

``` html
Tipos de Condomínios

Condomínios

```

My scenario start with that:

``` ruby
click_link 'Condomínios'
```

Checking on local machine using linux and another using mac os x, the link `Condomínios` is clicked but on integration server (linux), the link `Tipos de Condomínios` is clicked.

Note I'm using JRuby 1.6.5 on CI and local machines.

This can be related to different encodings.

How can I debug the reason of this issue?