That is something completely different. What you'd like to do is =
evaluate javascript in webdriver. That is possible.

See:

http://code.google.com/p/selenium/wiki/RubyBindings

On Jan 9, 2013, at 4:24 PM, Nicole Villette <lists / ruby-forum.com> =
wrote:

> Thanks for all of your responses. I guess I would need to access the =
DOM=20
> somehow.  I am doing some automation using selenium-webdriver and =
ruby.=20
> I am getting stuck on the part to upload an audio because it is a =
flash=20
> object that I can not interact with.  So the developer created  some =
js=20
> functions to get me through those clicks. The file with the functions=20=

> that I am calling from my script is supposed to be on the audio upload=20=

> page for ex. adCreationModule.js.  So, I  guess I need to get a=20
> reference to the DOM. I'm just not sure how to do that in Ruby.
>=20
> --=20
> Posted via http://www.ruby-forum.com/.
>=20