Wait for webpage to dynamically fetch data after filling textbox
I have a text field where I enter an account number, and then the webpage dynamically fetches the data from the database to fill other field on the page, like account name.
I cannot proceed before the data is fetched and the fields related to the account are filled. Whatever data I enter on other fields before the data is filled will get removed from all and any fields on the page.
I need an event that detects when the data is fetched and filled to continue working on other fields (not shown) because other fields get refreshed the moment the data is filled.