On 31 Mag, 07:38, Amit Bobade <[email protected]> wrote:
> Dear All:
>
> I am getting following error while executing the script. Please provide some
> solution.
>
> E:/Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.6.7/lib/firewatir/jssh_socket 
> .rb:19:in
> `js_eval':  missing ; before statement (JsshSocket::JSSyntaxError)

I had the same error, but it was a bug on my code... I was using
something like:

browser.div(:class, "/#{variable}/").present?

but variable was already a regexp. I changed it back to:

browser.div(:class, variable).present?

and now it works... I hope it helps :)

Gilberto

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to