[Wtr-general] evaluation of javascript

Christian Kreutzer herr.kreutzer at googlemail.com
Tue Oct 24 10:02:48 EDT 2006


Hi Esad,

you can check http://zbarzone.blogspot.com/2006/05/drag-and-drop-with-watir.html
for how to get watir executing JS but i don't know if its possible to
get the return values back to ruby.

Christian

On 10/20/06, Esad Hajdarevic <esad at esse.at> wrote:
> Well, basically I want to make an assertion about height and width of a
> window, and as I didn't find
> anything specific, I wondered if there is a way to evaluate some
> javascript (in the cotnext of the
> attached window) and have the result available in ruby?
>
> Esad
>
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>


More information about the Wtr-general mailing list