Unread Only

urobee Jan 16th, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Csak az olvasatlanokat mutatja, így elvileg többet fog látni amikor keresi, hogy mire kellene válaszolni
  2. //A ---btn_login.Click();--- után rakd be.
  4. Thread.Sleep(randInRunTime);
  5. IWebElement btn_settings = driver.FindElement(By.XPath("//*[@title='Settings, help and more']"));
  6. btn_settings.Click();
  7. Thread.Sleep(randInRunTime);
  8. IWebElement btn_unread = driver.FindElement(By.CssSelector("ul._54nf > li:nth-child(6)"));
  9. btn_unread.Click();
  10. Thread.Sleep(randInRunTime);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand