selenium-ide icon indicating copy to clipboard operation
selenium-ide copied to clipboard

Improving "wait for element" command

Open YecineM opened this issue 3 years ago • 5 comments

🚀 Feature Proposal

I propose that some generous people develop: a modified version of the command "wait for element visible" that doesn't cause termination of the test when it fails.

Motivation

It would be very helpful, because my test would continue after the timeout has elapsed.

Example

In a loop.

YecineM avatar Jun 15 '22 14:06 YecineM

@toddtarsi Could you include that in the version 4 please ?

YecineM avatar Jun 18 '22 04:06 YecineM

@YecineM - I don't think I can fully disable this being a failure, as that may break other people's tests. I'll look around though. I think we may have something available to do this possibly in the control flow system.

toddtarsi avatar Jun 20 '22 16:06 toddtarsi

Oh my god, thank you, that would be so beneficial in my work.

For some reason or bug, the "web element" I'm dealing with doesn't show up if the wait time is too long (an hour or more). So I need to make a Selenium IDE test that reloads the page and repeats the wait command every 30 minutes, for example.

YecineM avatar Jun 23 '22 23:06 YecineM

I'm counting on you, dear developers <3

YecineM avatar Sep 22 '22 20:09 YecineM

@YecineM - The PR is a work in progress here, but there are a number of things that have to happen first. Basically, this needs to clear alpha before January, when v3 gets taken down from the stores, so it might be a while. I'm sorry for the delays, but we're at least working our way through various stabilizations.

toddtarsi avatar Sep 22 '22 23:09 toddtarsi