Im trying to click on + in no.of passengers dropdown in spicejet website with SPAN tag
<div class="ad-row-right">
<span class="pax-add pax-enabled" id="hrefDecAdt">-</span>
<span id="spanAudlt">1</span>
<span class="pax-add pax-enabled" id="hrefIncAdt">+</span>
</div>
My code:
driver.get("http://spicejet.com/");
driver.findElement(By.xpath("//*[@id='divpaxinfo']")).click();
driver.findElement(By.xpath("//div[@id='divpaxOptions']//div[@class='ad-row-right']//span[@id='hrefIncAdt']")).click();
getting error Exception in thread "main" org.openqa.selenium.ElementNotVisibleException: element not visible
--
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/b1e3a77c-2c9d-42e4-8c41-4773f07262d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
--
--
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/668ceadd-bc64-43c3-bbc2-b3ef8a948779%40googlegroups.com.