Discussion:
[selenium-users] Wait an element inside a found element
Rogger Fernandes
2016-04-28 12:49:56 UTC
Permalink
Hello, I know when I am finding an element I can handle waiting element
visible, clickable, etc. However when I found an element, and from this
element I want to find another element, how do I deal with these contraints?
--
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+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9ecddb00-bc69-4376-ad06-3f5a963411ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andreas Tolfsen
2016-04-29 10:46:04 UTC
Permalink
Thu, 28 Apr 2016 05:49:56 -0700 (PDT) Rogger Fernandes
Post by Rogger Fernandes
Hello, I know when I am finding an element I can handle waiting
element visible, clickable, etc. However when I found an element, and
from this element I want to find another element, how do I deal with
these contraints?
WebDriver provides a synchronous API, which means when you’ve located
the first element you can perform the same wait check from the first.

Alternatively you can write a custom wait condition that waits for both
elements, or which only succeeds when it finds the first and then the
second.
--
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+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/20160429114604.125d568fa61f6c3beaff3b43%40mozilla.com.
For more options, visit https://groups.google.com/d/optout.
Bilal Celik
2016-04-29 11:43:38 UTC
Permalink
you can use xpath like this
Post by Rogger Fernandes
Hello, I know when I am finding an element I can handle waiting element
visible, clickable, etc. However when I found an element, and from this
element I want to find another element, how do I deal with these contraints?
--
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+***@googlegroups.com.
To post to this group, send email to selenium-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/bb067e47-987c-42a7-9b22-4063c88270db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...