PageLoadStrategy according to document.readyState #7706
Labels
STATE: Need clarification
An issue lacks information for further research.
TYPE: enhancement
The accepted proposal for future implementation.
What is your Scenario?
If the server where the resource such as css image is located fails or cannot be accessed, the browser connection is disconnected while the request is in the pending state.
similar issue: #7097
What are you suggesting?
In selenide(java), there is PageLoadStrategy according to document.readyState.
https://www.lambdatest.com/blog/selenium-page-load-strategy/
In the above situation, selenide configures Configuration.pageLoadStrategy = "eager"; If set to , the test proceeds without waiting for resources.
I wish testcafe had a similar option.
What alternatives have you considered?
It caused 500 error instead of pending with local dns.
/etc/hosts
127.0.0.1 {{pending-domain}}
Additional context
testcafe is a good open source testing tool. I am using it well.
※ All content in this post was used by Google Translate. I'm a Korean.
The text was updated successfully, but these errors were encountered: