1.

How Do You Capture An Element Loading After The Page Load?

Answer»

provide a time to CHECK the ELEMENT( in seconds) Like :

public void waitForElementPresent(String element, int timeout) throws Exception { for (int second = 0;; second++) { if (second >= timeout) FAIL("Timeout.Unable to find the Specified element"+element); try { if (selenium.isElementPresent(element)) break; } catch (Exception E) { } Thread.sleep(1000); } }

provide a time to check the element( in seconds) Like :



Discussion

No Comment Found