Forum: Ruby Watir not finding element

02f2b777a4e39e859f16a28d7a34bd4c?d=identicon&s=25 Matt Newell (n1ghtshade3)
on 2013-11-05 02:29
Can ANYONE help me with this problem:

(External link for nice formatting)
http://stackoverflow.com/questions/19780260/clicki...

Basically no matter what I do the webdriver refuses to click a
JavaScript link.
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2013-11-05 10:56
What's the page HTML?
2ebf2af9aa9347e30775d77eabbcc6c7?d=identicon&s=25 Eric MSP Veith (ericmsp_v)
on 2013-11-05 17:39
I cannot find the id "double_your_btc_link2" anywhere on the site you
linked.

Do you need to log in? If yes: Does Watir log in?

Try dumping the raw HTML of the page you want to test drive.
02f2b777a4e39e859f16a28d7a34bd4c?d=identicon&s=25 Matt Newell (n1ghtshade3)
on 2013-11-05 19:54
Oops, sorry guys.

@Eric, yes you do need to be logged in which Watir manages without a
problem because the login button is an actual button.

Here's the raw HTML: http://www.bitbin.it/raw.php?id=qhh5JuFM


EDIT: Sorry to waste your time, guys. I just used Firefox instead of
Chrome and it worked fine. This isn't even the first time I've had a
problem with accessing JavaScript elements in Chrome...thanks anyway.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.