September 2018
Intermediate to advanced
764 pages
20h 6m
English
The last step requires us to wait for the API server to respond to our request, after which we should display a success message.
A naive, but very common, approach would be to wait a few seconds before making an assertion. However, this has two disadvantages:
Luckily, Selenium provides the driver.wait method, which has the following signature:
driver.wait(<condition>, <timeout>, <message>)
condition can be a Condition instance, a ...
Read now
Unlock full access