public void GetPageText() { try { MattmahoneyHomePage mattmahoneyHomePage = new MattmahoneyHomePage(_webDriver); mattmahoneyHomePage.CenterTestImage(); _webDriver.TakeScreenshot("Tesseract_test"); text = AIProvider.GetTextFromImage($"{GenericUtils.GetScreenShotsDirectory()}//Tesseract_test.bmp"); Console.WriteLine("asd"); } catch (Exception ex) { AssertionProvider.FailTest(ex.Message); } }
public Friend(IRace race, AIProvider ai, AIProvider healAI) : base(race, ai, DefaultLifes) { this.HealAI = healAI; this.NormalAI = ai; }
protected AIPlayer(IRace race, AIProvider ai, int DefaultLifes) : base(DefaultLifes, race) { this.AI = ai; this.AI.Character = this; }
public Enemy(IRace race, AIProvider ai) : base(race, ai, AppSettings.DefaultLifes) { }