[Feature]: Hard Refresh
🚀 Feature Request
There should be a feature in playwright which should enable user to do hard refresh, as of now I don't see this thing, neither am I able to find out to do the same without creating a new browser context.
Example
I've a lot of cases where I need to hard refresh the page with caching such that the entity created shows up on the list of filter options.
Motivation
This could be useful for the automation of test case flow where the webpage has caching enabled. This would help to reload the page such that updated entries show up on UI.
@sshekhar06 Could you please provide a specific example with a code snippet and a url? Otherwise, it's unclear what exactly would you like the new functionality to do.
Also, it seems like creating a new browser context solves the issue for you. Why is that not an acceptable solution? Please explain in details.
@sshekhar06 I see, thanks for the explanation. Unfortunately, this does not sound like a scenario that Playwright would focus on. I can keep the feature request open for prioritization, but I'd recommend a new browser context or fixing the page to not cache as agressively for now.
Why was this issue closed?
Thank you for your involvement. This issue was closed due to limited engagement (upvotes/activity), lack of recent activity, and insufficient actionability. To maintain a manageable database, we prioritize issues based on these factors.
If you disagree with this closure, please open a new issue and reference this one. More support or clarity on its necessity may prompt a review. Your understanding and cooperation are appreciated.