18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
xhr.wait_ready_states
Hi!
Inside sahi.properties I found this:
# Set this to 2 if browser seems to be idle for a long time during to AJAX calls.
# Use 1,2,3 for ZK apps. Just 2 for gmail (and comet based applications).
# Can be controlled in the script using _sahi.waitWhenReadyState1, _sahi.waitWhenReadyState2, _sahi.waitWhenReadyState3
xhr.wait_ready_states=1,2,3
I cant find waitWhenReadyState1, waitWhenReadyState2, waitWhenReadyState3 in code. What they means?
I want to solve my problem with this property, when sahi controller not executes next command.
Inside sahi.properties I found this:
# Set this to 2 if browser seems to be idle for a long time during to AJAX calls.
# Use 1,2,3 for ZK apps. Just 2 for gmail (and comet based applications).
# Can be controlled in the script using _sahi.waitWhenReadyState1, _sahi.waitWhenReadyState2, _sahi.waitWhenReadyState3
xhr.wait_ready_states=1,2,3
I cant find waitWhenReadyState1, waitWhenReadyState2, waitWhenReadyState3 in code. What they means?
I want to solve my problem with this property, when sahi controller not executes next command.