we are doing automation for a web application and most of the script gets a download icon in the center of the page. We need to wait for the download icon to appear.
<div id="loading" style="display: none; visibility: hidden;">
<div></div>
<div></div>
Example: we have a search function, in most cases we get this download icon.
selenium webdriver that we use: the id that we get to download to complete is id = "loading" .. please provide solutions to the above problems.
we have different functions like click and sendkeys
source
share