Skip to main content
formatting
Source Link
Bharat Mane
  • 6.8k
  • 11
  • 41
  • 69

driver.manage().timeouts().implicitlyWait(2000, TimeUnit.MILLISECONDS); driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

driver.manage().timeouts().implicitlyWait(2000, TimeUnit.MILLISECONDS);
driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

inIn my code, above 2 lines used and I commentcommented the second line my application is, it's working fine.

//driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

//driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

driver.manage().timeouts().implicitlyWait(2000, TimeUnit.MILLISECONDS); driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

in my code, above 2 lines used and I comment the second line my application is working fine.

//driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

driver.manage().timeouts().implicitlyWait(2000, TimeUnit.MILLISECONDS);
driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

In my code, above 2 lines used and I commented the second line, it's working fine.

//driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);
Source Link

driver.manage().timeouts().implicitlyWait(2000, TimeUnit.MILLISECONDS); driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);

in my code, above 2 lines used and I comment the second line my application is working fine.

//driver.manage().timeouts().pageLoadTimeout(40, TimeUnit.SECONDS);