This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SafeBusWrapper : IDisposable | |
| { | |
| private static readonly Logger Log = LogManager.GetCurrentClassLogger(); | |
| private readonly IAdvancedBus _advancedBus; | |
| private readonly IBus _bus; | |
| public SafeBusWrapper(string connecitonString, Action<IServiceRegister> registerServices) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SafeBusWrapper : IDisposable | |
| { | |
| private static readonly Logger Log = LogManager.GetCurrentClassLogger(); | |
| private readonly IAdvancedBus _advancedBus; | |
| private readonly IBus _bus; | |
| public SafeBusWrapper(string connecitonString, Action<IServiceRegister> registerServices) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class SafeBusWrapper : IDisposable | |
| { | |
| private static readonly Logger Log = LogManager.GetCurrentClassLogger(); | |
| private readonly IAdvancedBus _advancedBus; | |
| private readonly IBus _bus; | |
| public SafeBusWrapper(string connecitonString, Action<IServiceRegister> registerServices) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Thread.Sleep(2000);//Wait the extension about page open | |
| driver.Close(); //Close about page | |
| driver.SwitchTo().Window(driver.WindowHandles[0]); | |
| driver.Navigate().GoToUrl("chrome-extension://idgpnmonknjnojddfkpgkljpfnnfcklj/popup.html"); | |
| driver.ExecuteScript("document.getElementsByClassName('mdc-text-field__input')[0].value = 'MY_HEADER';"); | |
| driver.ExecuteScript(" var evt = document.createEvent('HTMLEvents');evt.initEvent('input', false, true);document.getElementsByClassName('mdc-text-field__input')[0].dispatchEvent(evt);"); |