WebWhatsappBot icon indicating copy to clipboard operation
WebWhatsappBot copied to clipboard

Some updates may be useful

Open derodevil opened this issue 7 years ago • 1 comments

  1. Method GetQRImageRAW is not working. I'm trying to change to driver.FindElement(By.XPath("//*[@id=\"app\"]/div/div/div[2]/div[1]/div[2]/div/img")); and it's now working
  2. To check if the phone is connected or successfully scanned I'm using this code (changing the old one)
try
                {
                    if (driver.FindElements(By.XPath("//*[@id=\"app\"]/div/div/div[2]/div[1]/div[3]/label/input")).Count > 0)
                        return false;

                    if (driver.FindElements(By.ClassName("icon-alert-phone")).Count > 0)
                        return false;

                    return true;
                }
                catch (Exception ex)
                {
                    return true;
                }

derodevil avatar Nov 26 '18 16:11 derodevil

I am in the process of optimizing some methods

ZetDeveloper avatar Nov 26 '18 17:11 ZetDeveloper