--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/433b4a37-8aec-42cf-a55d-45d082031e1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi-Is this the right xpath? (By.xpath("//div[@title='Select View']/span/span"))), please verify.
On Mon, May 7, 2018 at 12:12 AM, Satinder Pal <satind...@paxcel.net> wrote:
Hi All,While doing automation there is one step in which loader is visible on UI for some time and after that an element should get clickedbut i am getting this element i have used all three wait. I cannot use thread.sleep because the time is not fixed of loader. Pls helf mepublic static WebElement select_view(WebDriver driver){try{WebDriverWait explicitlywaiting=new WebDriverWait(driver, 100);element= explicitlywaiting.until(ExpectedConditions.presenceOfElementLocated(By.xpath("//div[@title='Select View']/span/span")));} catch(Exception ex){System.out.println(ex.toString());Log.error("Select View is not found.");throw(ex);}return element;}
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/433b4a37-8aec-42cf-a55d-45d082031e1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Thanks and Best Regards,Bharathi
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAEwmRzipDjhvZvEGgDyDH34cyDzBem%2BRSgg%3Dtb8AiH-aRT645A%40mail.gmail.com.