opk ok ok ok ok ok o ko k o
o ko kop jklsdsd
This commit is contained in:
parent
51a8fdda5b
commit
3feec69df0
1 changed files with 0 additions and 6 deletions
|
@ -28,12 +28,6 @@ namespace bot {
|
|||
break;
|
||||
} 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")
|
||||
d.FindElement(By.Id("audioButton")).Click();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue