Hey there:
I know there may be a lot of posts already on this topic. For example, I was trying to follow the github below (even though that speaks to iOS and i’m on Android). Not sure if there is something i’m missing.
I’ve attached a screen shot.
I basically want to script out “Click the back arrow until you don’t see it anymore”.
I have something like this:
@previous_term_arrow = {id: "com.blackboard.android.bbstudent:id/sibling_header_left_arrow"}
And a method like this:
def click_to_oldest_term()
while (find_element(@previous_term_arrow).displayed? )
wait {find_element(@previous_term_arrow).click }
end
end
The issue is that it gets caught in the loop. It appears it shows my back arrow as displayed even when it’s not visible onscreen. Using the inspector, I see that visible=false, but enabled=true.
Not sure again if it’s a bug (i can file it github with logs) or a misunderstanding on my part. I’ve even tried copying these commands in arc and I get the same result.
Thanks in advance for anyone that can assist. Let me know if you need more information.
Thanks!