testing - Selenium doesn't wait until website has loaded, where to put the codes of your answers? -


in test case website needs many seconds until loaded, selenium doesn't wait it, although set on slowest option.

i know give me java codes or something, don't know have write down these codes works?

i newbie, sorry

thank you

set implicit or explicit wait as,

after browser instance insert following line - driver.manage().timeouts().implicitlywait(10, timeunit.seconds);

or before element take time load place explicit wait - webdriverwait.until(condition-that-finds-the-element)

for more info click here


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -