question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[🐛 Bug]: [Chrome 95] Page is stuck on loading when using Throttling settings on Chrome 95 version

See original GitHub issue

What happened?

Network operations not working - page is stuck on loading when using Throttling settings on Chrome 95 version Not reproducing on other chrome versions.

How can we reproduce the issue?

((ChromeDriver)driver).NetworkConditions = ChromeNetConditions(networkProfile);

//function used
        public ChromeNetworkConditions ChromeNetConditions(string profile)
        {
            ChromeNetworkConditions networkConditions = new ChromeNetworkConditions();
            profile = profile.ToLower();
            switch (profile)
            {
                case "2g":
                    networkConditions.Latency = TimeSpan.FromMilliseconds(300);
                    networkConditions.DownloadThroughput = 250 * 1024;
                    networkConditions.UploadThroughput = 50 * 1024;
                    networkConditions.IsOffline = false;
                    break;

                case "3g":
                    networkConditions.Latency = TimeSpan.FromMilliseconds(100);
                    networkConditions.DownloadThroughput = 750 * 1024;
                    networkConditions.UploadThroughput = 250 * 1024;
                    networkConditions.IsOffline = false;
                    break;
                
                default:
                    throw new Exception("There is no Profile name that matching the given parameter");
             }
            return networkConditions;

        }

Relevant log output

no log output

Operating System

Windows 10

Selenium version

C# 3.141.0 / 4.0.1

What are the browser(s) and version(s) where you see this issue?

Chrome 95.0.4638.54

What are the browser driver(s) and version(s) where you see this issue?

Chromedriver 95.0.4638.54

Are you using Selenium Grid?

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
n2o1988commented, Nov 4, 2021

+1 we’re seeing a similar behavior since the update to Chrome 95: infinite loading when we throttle the network (in our case we disabled it entirely).

In addition, this ultimately results in the following error for us:

WebDriverError: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
  (Session info: chrome=95.0.4638.69)

We’re using the JavaScript selenium-webdriver bindings

1reaction
diemolcommented, Feb 7, 2022

Thank you for letting us know. If other people have this issue after upgrading, we can reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Chrome update problems & failed updates - Google Support
If you're having problems updating Chrome on your computer, you might see: Update failed: Updates are disabled by administrator; Update failed (Error: 3...
Read more >
Google Chrome version history - Wikipedia
Google Chrome is a freeware web browser developed by Google LLC. The development process is ... Chrome 95 was the last version supported...
Read more >
Microsoft Edge Browser Policy Documentation
Use the links in the table to get more details about specific policies. Application Guard settings; Cast; Content settings; Default search ...
Read more >
What's New In DevTools (Chrome 67)
New audits, desktop configuration options, and viewing traces; Stop infinite loops; User Timing in the Performance tabs; JavaScript VM instances ...
Read more >
Firefox vs Chrome 2022 [Mozilla vs Google Browser Showdown]
In this article, we'll compare how each of these browsers fare in the following five categories: features, ease of use, performance, security and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found