Selenium Grid Hub with node(s) set up. Whats next? (Picture included)

核能气质少年 提交于 2019-12-13 04:34:35

问题


I am using Selenium 2 and I have the grid hub currently set up. I have a local node in place.

This is what my hub looks like.

I want to load the same webpage on a number of these browsers.

Is it time for me to start writing the webdriver code?(using c# on VS?)


回答1:


I can only provide you some java code, but C# should be quite similar.

String gridconfig = "your grid url";    
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
RemoteWebDriver driver = new RemoteWebDriver(new URL(this.gridconfig), capabilities);

//Do your test stuff with driver


来源:https://stackoverflow.com/questions/11035802/selenium-grid-hub-with-nodes-set-up-whats-next-picture-included

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!