Python Forum

Full Version: HTML loading process
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Showing your code would be most helpful