|
|
1
11
首先,您必须安装gem selenium webdriver: gem安装Selenium WebDriver 然后您可以启动Ruby程序:
您可以找到更多信息: about webdriver and ruby (all said above was an attempt to summarize it) 如您所见,WebDriverAPI本身就有一个不同于普通SeleniumRuby程序的“风格”…如果您希望使用WebDriver并继续使用Selenium API编程,那么您可能应该选择Selenium2.0远程服务器,因为它似乎将以透明的方式使用WebDriver,同时仍然拥有相同的已知Selenium Ruby API。 如果我对信息的某些部分有错误,请纠正我,我们将一起使其更清楚:) pd:关于Selenium和WebDriver之间关系的最佳信息是 this 博客帖子 |