An open API service indexing awesome lists of open source software.

https://github.com/masonm/reproduce_chromedriver_bug

Reproduce CPU throttling bug with Chromedriver
https://github.com/masonm/reproduce_chromedriver_bug

Last synced: 4 months ago
JSON representation

Reproduce CPU throttling bug with Chromedriver

Awesome Lists containing this project

README

          

# Overview

This is a minimal reproducible example of a bug with Chromedriver where CPU throttling doesn't work after calling `Emulation.setCPUThrottlingRate()` via the Chrome DevTools Protocol.

# Usage

Run `npm ci` to install dependencies (including Chromedriver) and run the example via `node index.js `, with `` replaced with the CPU throttle rate. The example will load the Wikipedia homepage and then dump out navigation timing metrics, and write a verbose log file to `log.txt`. Try varying the throttle rate and notice it has no effect on the reported metrics.