nhungpham1512 / automation_testing_beginner

automation testing course aLinh
0 stars 0 forks source link

Wait trong Webdriver #13

Closed jacobvn84 closed 1 year ago

jacobvn84 commented 1 year ago

WebDriver can generally be said to have a blocking API. Because it is an out-of-process library that instructs the browser what to do, and because the web platform has an intrinsically asynchronous nature, WebDriver does not track the active, real-time state of the DOM. This comes with some challenges that we will discuss here.

https://www.selenium.dev/documentation/webdriver/waits/

jacobvn84 commented 1 year ago

serenity.conf

webdriver {
  #timeouts.implicitlywait=60000
  wait.for.timeout=90000
}
nhungpham1512 commented 1 year ago

có 3 loại wait trong serenity