public void RunMultiBrowserEmulatorTests(Emulator emulator, DeviceOrientation orientation) { _testSettings.TestType = TestType.EmulatorBrowser; _testSettings.DriverType = WebDriverType.EmulatorBrowser; _testSettings.TestDirectory = _testSettings.TestDirectory + "\\Emulator Browsers\\"; _driver = WebDriverManager.InitializeMultiBrowserEmulatorDriver(_testSettings, emulator, orientation, _testOutputHelper); if (_driver == null) { throw new NullReferenceException("_driver cannot be null"); } PerformTest(); _driver.Close(); }