selenium - Is there an HtmlUnitDriver for .NET? -
i'm using selenium's webdriver run specflow tests asp.net mvc app i'm working on self-education.
using firefoxdriver
, chromedriver
, etc. take long run, it's pretty frustrating use them (in opinion).
i have read htmlunitdriver
supposedly faster browser-based drivers; can't seem find version in .net client library (only java). there .net version out there?
to use htmlunit need use remotewebdriver , pass in desired capabilities it.
iwebdriver driver = new remotewebdriver(desiredcapabilities.htmlunit())
and away go. if want firefox implementation run use
iwebdriver driver = new remotewebdriver(desiredcapabilities.htmlunitwithjavascript())
Comments
Post a Comment