public void SetUp(ChromeOptions option)
 {
     MessageConsoleCreator message = new MessageConsoleCreator();
     message.TestWillRun();
     _driver = new ChromeDriver(option);
     _driverCover = new DriverCover(_driver);
     _orderVerifications = new OrderVerifications(_driver);
     _commonActions = new TestFramework.CommonActions(_driver);
     _cartVerifications = new CartVerifications(_driver);
 }
示例#2
0
 public void SetUp()
 {
     MessageConsoleCreator message = new MessageConsoleCreator();
     message.TestWillRun();
     _driver = new ChromeDriver(CreateOptions(_device));
     _driverCover = new DriverCover(_driver);
     _commonActions = new TestFramework.CommonActions(_driver);
     _cartVerifications = new CartVerifications(_driver);
     _sharedCode = new TestsSharedCode(_driver);
     _cartActions = new CartActions(_driver);
 }