예제 #1
0
        private void TrackMessage(IWebElement msg)
        {
            string id = msg.GetAttribute("id");

            if (ChatExists(id))
            {
                return;
            }

            CChat chat = new CChat(chrome, msg);

            chat.MessagesReceived += Chat_MessagesReceived;
            chats.Add(chat);
        }
예제 #2
0
 private void Chat_MessagesReceived(CChat chat, List <IWebElement> messages)
 {
     replies.MessageReceived(this, chat, messages);
 }