1. 4
    Use the findBy Query to get Elements that Will Show up on the Page
    1m 25s

Use the findBy Query to get Elements that Will Show up on the Page

Share this video with your friends

Send Tweet

In order for you to interact with the elements in your tests, you need to query for them. Well, sometimes, they take time to show up in your UI.

In this lesson, we will learn about one of the query variants that allows you to search for something that you expect to show up eventually in your UI: the findBy*.

~ 6 months ago

How long does findBy query wait for the content to appear?

Daniel Afonso
Daniel Afonso(instructor)
~ 6 months ago

How long does findBy query wait for the content to appear? By default, the promise will be rejected after a timeout of 1000ms. This timeout can be overridden if necessary as well :)