From 98b1fa957da24ae7785ffbdc4927cff1fb7f6957 Mon Sep 17 00:00:00 2001 From: MallocNull Date: Sun, 19 Oct 2014 16:16:12 -0500 Subject: [PATCH] the unjiggening aids --- bot/bot/Chat.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot/bot/Chat.cs b/bot/bot/Chat.cs index 8f3a36f..86f49f3 100644 --- a/bot/bot/Chat.cs +++ b/bot/bot/Chat.cs @@ -17,6 +17,7 @@ namespace bot { static int currentMessage; public static void reloadContext(FirefoxDriver d) { + Console.Writeline("reloading context"); while(true) { try { List chatdata = d.FindElement(By.Id("chatList")).FindElements(By.TagName("div")).ToList(); @@ -28,6 +29,7 @@ namespace bot { break; } catch(Exception shoehorn) {} } + Console.Writeline("reloading context complete"); if(d.FindElement(By.Id("audioButton")).GetAttribute("class").ToLower() == "button") d.FindElement(By.Id("audioButton")).Click(); }