Wait commands
- implicit wait
- ex :
driver.implicitly_wait(10)
- advantage :
- disadvantage :
- explicit wait
- works based on condition
- advantage :
- disadvantage :
time.sleep(time in seconds)
advantage :
disadvantage :
- performance of the script is very poor
- if the element is not available within the time mentioned, still there is a chance of getting exception