views:

87

answers:

0

Hi there, I have been testing a twitter web-based application using Selenium RC in Ruby. What I want to accomplish is: Click "Connect with Twitter", pops up the twitter oauth page, type username and password, and click Allow button.

However, when it connects with twitter, it directs to twitter oauth page which is different URL from the base URL.

Is there any way that I can change the base URL so that I can do stuff on different urls? Also, since each twitter oauth page has a different oauth_token in the end of URL, how should I set a URL such that it can handle urls with different oauth_token in the end?

Thank you for your suggestions!

regards

Naoya