wait while element exists (also visible)

Support
  • I want to solve a PxCaptcha manually using drag and drop actions. My function starts with

    1. dragging on the Press button (It's a <p> tag inside a <div> actually)
    2. then it uses "wait while element exists (also visible on screen). I want to wait until the text, "Press and hold", is visible on the screen. You know once the bar is complete it turns into checkmark and dots then.
    3. Finally when the "Press and Hold" is not visible anymore, it drops on the same element to stop the dragging.

    My problem:

    When I test it manually, it works completely fine. the "Also visible on screen" actually works and even if an element is present in the page source the "Is element exists" function returns false.
    However, when I use "Is element exists" in a loop or when I use "wait while element exists", I keep getting the same results (false or true) whether the element is visible or not.

    I tried to reverse this logic and use the dot element. The same problem.

    Is there any problems with my logic? Or I am using the BAS functions wrong? Or this is just a BAS problem?

    Notable: The element is inside two iframes.

    Capture.JPG

  • Are there any settings associated with this problem? Like when you try to locate an element inside multiple iframes?