What Is Page Load Strategy?
When Thunders runs tests on your website, it needs to know when a page has finished loading before it can begin testing. Since different websites load content in different ways, you can customize this behavior to match your site's needs.
Five settings work together to intelligently detect page load completion, ensuring the system waits for pages to fully load before taking actions like screenshots or interactions.
Why Customize Page Load Strategy?
You might want to customize this if your website:
Has animations that play after the page loads
Uses lazy loading for images or content
Has dynamic content that appears with a delay
Loads very quickly and doesn't need long timeouts
Takes longer than usual to load certain resources
Configure Page Load Settings
Open the Page Stability settings
In your Test Project, select Configure in the sidebar, then select Page Stability.
Configure the settings
The Page Stability form contains five fields:
Navigation Timeout (ms)
This is the maximum time to wait for a navigation to successfully start after an action that triggers a URL change (e.g. clicking a link or submitting a form). It prevents test failures caused by slow server responses before the browser begins loading the new page.
→ Default: 20000 (20 seconds)
Network Idle Time (ms)
This setting defines how long the network must be completely idle (no pending requests) before considering the page stable. It prevents premature action execution when background requests might still be loading content.
→ Default: 500 (0.5 second)
When the field is empty or keeps its default value, the screen shows After an action, Thunders waits 100 ms. After each action, Thunders then waits for 100 ms of network idle instead of 500 ms. A value that you set yourself applies after actions too.
Max Wait per Url (ms)
This is the maximum time to wait for page stability after a URL change/navigation. It acts as a timeout to prevent indefinite waiting on slow-loading pages.
→ Default: 5000 (5 seconds)
Max Overall Wait Time (ms)
This provides an absolute maximum wait time regardless of network activity. It's a safety net that ensures the system doesn't hang indefinitely even if network requests never complete or if the URL changes.
→ Default: 10000 (10 seconds)
Minimum Wait Time (ms)
This ensures the system waits at least this minimum time before checking for stability. It prevents false positives where the network appears idle immediately but content is still loading.
→ Default: 200 (0.2 second)
When the field is empty or keeps its default value, the screen shows After an action, Thunders waits 50 ms. After each action, Thunders then waits at least 50 ms instead of 200 ms. A value that you set yourself applies after actions too.
Save Your Configuration
Click Save to apply your custom page load strategy to all future test runs for this project.
Reset to Default Settings
To return to the default page load strategy:
Click Reset to Default in each field.
Click Save.
The system will automatically use the default values.
Troubleshooting
Tests are timing out: Try increasing the timeout values.
Tests start too early: Increase Minimum Wait Time or Network Idle Time.
Pages load slower in tests than expected: Increase Max Wait per Url and Max Overall Wait Time.

