Joel Pearson wrote in post #1120742:
> I recommend learning how this works:
>
> http://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Literals#Interpolation
>
> driver.execute_script("window.open('#{link}')")


Yes,I managed it by doing some debugging. Thanks for your help!

-- 
Posted via http://www.ruby-forum.com/.