Is there a way to set timeout when specific element in webpage loads
Notice: I am talking about loading webpage using driver.get() method
I tried setting page loads timeout to 10s for example and check whether element is present but if it is not present i'll have to load it from start.
Edit:
Clearly said that I don't want to load full url
I want driver.get() to load url until element found and then stop loading more from url
In your examples you used simply driver.get() method which will load full url and then execute next command. One way is to use driver.set_page_load_timeout()