Mar-31-2020, 04:54 PM
hello ppl, do you know the way for loading page?
For example we have a html code:
<html
--><head>
--><body>
</html>
and inside in body we have
<html
--><head>
--><body>
-----> <div 1
------------> <div 1.1
------------> <div 1.2
------------> <div 1.3
-----> <div 2
</html>
and the page load from up to down.
for example the page just start loading the <div 2 when finish the < div 1.3 ?
because I have a problem, I'm trying find a element and sometimes he is not in the same position so I have to use the "try code" and driver.wait.until(EC.presence_of_element_located((By.XPATH,"xpath link")))
is not working.
For example we have a html code:
<html
--><head>
--><body>
</html>
and inside in body we have
<html
--><head>
--><body>
-----> <div 1
------------> <div 1.1
------------> <div 1.2
------------> <div 1.3
-----> <div 2
</html>
and the page load from up to down.
for example the page just start loading the <div 2 when finish the < div 1.3 ?
because I have a problem, I'm trying find a element and sometimes he is not in the same position so I have to use the "try code" and driver.wait.until(EC.presence_of_element_located((By.XPATH,"xpath link")))
is not working.