When I click the A button .
pattern 1 : Sometimes the B element will appear(In one minutes) ,
pattern 2 : but sometimes it won’t appear,The C element will appear.
When I click B element .The C will appear.
Is there any best way to wait element B exists?
Solution ONE: now I use the “Element exists” and set the timeout parameter:70s. It will solve this problem.
but If pattern 2 occours more frequently,the procedure will wait 70s all the time.It waste more time.
Solution TWO: Maybe I can use the “Element exists” to judge if C element exists first.
Which solution is the best way,any good idea? Thanks