當我創建硒RemoteWebDriver的實例像的webdriver忽略平臺功能
DesiredCapabilities cap = new DesiredCapabilities("firefox", "13", Platform.VISTA);
RemoteWebDriver driver = new RemoteWebDriver(cap);
並觀看功能裏面我看到平臺= XP。
整個問題也被描述here
這是一個錯誤?
當我創建硒RemoteWebDriver的實例像的webdriver忽略平臺功能
DesiredCapabilities cap = new DesiredCapabilities("firefox", "13", Platform.VISTA);
RemoteWebDriver driver = new RemoteWebDriver(cap);
並觀看功能裏面我看到平臺= XP。
整個問題也被描述here
這是一個錯誤?
找到錯誤描述here。 期待修復。
今天我遇到了同樣的問題。如果您遇到這種情況,就好像人們在linked bug中一樣,實際上這只是默認節點配置的問題。您可以使用json文件手動設置節點配置,如here,位於「通過JSON配置節點」下所述。
如果每個節點,你有項目,如獨特的JSON文件:
{
"platform": "VISTA",
"browserName": "internet explorer",
"maxInstances": 1,
"seleniumProtocol": "WebDriver"
}
與您所需的平臺名稱替換VISTA
,該節點將只響應這些請求,並RemoteWebDrivers會被適當地創造!
聽起來像是用戶組的好選擇 - 試試在這裏發帖:https://groups.google.com/forum/?fromgroups#!forum/selenium-users – Anders
添加了鏈接到錯誤描述 –
正如在開發者(barancev)本身的錯誤,它肯定看起來像一個bug。 –