Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageLoadStrategy according to document.readyState #7706

Closed
yuwoonil opened this issue May 17, 2023 · 2 comments
Closed

PageLoadStrategy according to document.readyState #7706

yuwoonil opened this issue May 17, 2023 · 2 comments
Labels
STATE: Need clarification An issue lacks information for further research. TYPE: enhancement The accepted proposal for future implementation.

Comments

@yuwoonil
Copy link

yuwoonil commented May 17, 2023

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

image

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.

@yuwoonil yuwoonil added the TYPE: enhancement The accepted proposal for future implementation. label May 17, 2023
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label May 17, 2023
@yuwoonil yuwoonil changed the title PageLoadStrategy according to document.readyState in selenide (java) PageLoadStrategy according to document.readyState May 17, 2023
@miherlosev miherlosev added the STATE: Need simple sample A simple sample is required to examine the issue. label May 18, 2023
@github-actions
Copy link

Thank you for submitting this issue. We would love to assist you and diagnose it. However, we need a simple sample that we can easily run on our side in order to replicate the issue and research its cause. Without a sample, we are not able to figure out what's going on and why this issue occurs. Refer to this article to create the best example: How To: Create a Minimal Working Example When You Submit an Issue. We look forward to your response.

@github-actions github-actions bot added STATE: Need clarification An issue lacks information for further research. and removed STATE: Need response An issue that requires a response or attention from the team. STATE: Need simple sample A simple sample is required to examine the issue. labels May 18, 2023
@github-actions
Copy link

This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STATE: Need clarification An issue lacks information for further research. TYPE: enhancement The accepted proposal for future implementation.
Projects
None yet
Development

No branches or pull requests

2 participants