Home > Back-end >  How to wait for requests to complete for automation testing
How to wait for requests to complete for automation testing

Time:05-06

i am facing issues while automating Spartacus angular application. Selenium is not waiting for all angular requests to complete. As request takes few seconds to generate, selenium thinks page has loaded successfully. but there is still process going on in background.

CodePudding user response:

Depending on the type of waiting you want there are multiple ways to reach your goal. This link will provide you an overview alongside some code.

CodePudding user response:

I hop it help you

I dont know you are using selenium on which language You can search "how to wait for load an element in selenium"

  • Related