baseclass-contrib

Invoking browsers with Baseclass.Contrib.Specflow in C# using Browser.Current

喜欢而已 提交于 2019-12-10 18:05:01
问题 I'm currently trying to use Selenium Grid 2 to run automation tests on multiple browsers. During my research I came across using Baseclass.Contrib.Specflow which enables me to use the browsers as tags in the feature files without having to declare it in my main driver class. The problem I have is that one of the blogs I read had the following as the set up code [SetUp] public void Test_Setup(){ CurrentDriver = Browser.Current;} My app config file looks contains the following: <components> <!-