opk ok ok ok ok ok o ko k o

o ko kop jklsdsd
This commit is contained in:
MallocNull 2014-10-19 16:09:33 -05:00
parent 51a8fdda5b
commit 3feec69df0

View file

@ -28,12 +28,6 @@ namespace bot {
break; break;
} catch(Exception shoehorn) {} } catch(Exception shoehorn) {}
} }
List<IWebElement> chatdata = d.FindElement(By.Id("chatList")).FindElements(By.TagName("div")).ToList();
messageDivSize = chatdata.Count;
foreach(IWebElement we in chatdata) {
if(Int32.Parse(we.GetAttribute("id").Substring(we.GetAttribute("id").LastIndexOf('_') + 1)) > currentMessage)
currentMessage = Int32.Parse(we.GetAttribute("id").Substring(we.GetAttribute("id").LastIndexOf('_') + 1));
}
if(d.FindElement(By.Id("audioButton")).GetAttribute("class").ToLower() == "button") if(d.FindElement(By.Id("audioButton")).GetAttribute("class").ToLower() == "button")
d.FindElement(By.Id("audioButton")).Click(); d.FindElement(By.Id("audioButton")).Click();
} }