Synchronisation | selenium waits in python | create your own WebDriverWait condition

preview_player
Показать описание
This video will explain
Hard wait
Implicit wait
WebDriverWait or explicit wait, how we can wait based on some condition of an element
Also we will discuss how to customise or create our own WebDriverWait conditions.
Рекомендации по теме
Комментарии
Автор

Man, I don't have words to thank you, this video is a master class about Selenium use and will help me so much in a project!
Thanks a lot, thank you so much!!!

kchassa_
Автор

In the last part video you given an assignment, please solve that assignment

sreenivasreddy
Автор

what is to be done when the text is not known?

AnilKumar-dchv
Автор

I have one question about WebDriverWait.

EC.presence_of_element_located((By.XPATH, <=== Direct XPATH and No Problem


But....using variable

temp =
EC.presence_of_element_located((By.XPATH, temp)) <=== insert variable, temp and occure to Exception




<class ::: Message: invalid selector: Unable to locate an element with the xpath expression

Why ??? :(

papaoh
Автор

WebDriverWait(web_driver, timeout=1, poll_frequency=1,
EC.presence_of_element_located((By.XPATH,
)


vs


temp =
WebDriverWait(web_driver, timeout=1, poll_frequency=1,
EC.presence_of_element_located((By.XPATH, temp))
)

papaoh