101 reputation
1
bio website
location
age
visits member for 2 years, 5 months
seen Aug 25 '12 at 19:03

Jul
11
comment Running WebDriver without opening actual browser window
@MacGyver: No, you don't have to switch the language, think of HTMLUnit as the browser that is started, not as a testing framework. It does not matter for you in what language it was written, like it does not matter for firefox etc. At the very minimum you can always start the selenium server and connect to it using the webdriver bindings, specifying you want HTMLUnit. In C#: IWebDriver drive = new RemoteWebDriver(DesiredCapabilities.HtmlUnit()); There might be also a HTMLUnitDriver (for connecting directly) in the C# bindings, as C# belongs to the four officially supported languages.
Jul
11
comment Rule of thumb for using wait()
Right, but still it would not be good practice too use explicit waits after every webdriver action (which includes some implicit wait already). It is not necessary for a lot of actions and would just clutter the code, making it hard to read.
Jun
20
awarded  Supporter