From: Nicole Villette Date: 2013-01-10T00:24:12+09:00 Subject: Re: Can I require an external .js file in Ruby Thanks for all of your responses. I guess I would need to access the DOM somehow. I am doing some automation using selenium-webdriver and ruby. I am getting stuck on the part to upload an audio because it is a flash object that I can not interact with. So the developer created some js functions to get me through those clicks. The file with the functions that I am calling from my script is supposed to be on the audio upload page for ex. adCreationModule.js. So, I guess I need to get a reference to the DOM. I'm just not sure how to do that in Ruby. -- Posted via http://www.ruby-forum.com/.