Maciej Brencz
Maciej Brencz
Guys, is this problem happening only for exit code 252 (`EXIT_TIMED_OUT`)? This will be against promise principles (as there was an error and metrics are not calculated for a full...
Still no idea :) Tagged with "research" label.
https://github.com/ariya/phantomjs/issues/12491 - run phantomas twice with custom disk cache location
Emulating RTT (Round Trip Time) will be great to test locally hosted app against various network connections and devices (WiFi vs 3G).
https://chromedevtools.github.io/devtools-protocol/tot/Network#method-emulateNetworkConditions - this is now provided by Chrome DevTools which we will use thanks to #707. ``` offline True to emulate internet disconnection. latency Minimum latency from request sent to...
## Resources * https://fdalvi.github.io/blog/2018-02-05-puppeteer-network-throttle/ * https://addyosmani.com/blog/puppeteer-recipes/#throttle-network * https://www.debugbear.com/blog/network-throttling-methods https://source.chromium.org/chromium/chromium/src/+/refs/tags/72.0.3626.30:tools/android/loading/emulation.py ```python # Copied from # WebKit/Source/devtools/front_end/network/NetworkConditionsSelector.js # Units: # download/upload: byte/s # latency: ms NETWORK_CONDITIONS = { 'GPRS': { 'download': 50...
See https://github.com/puppeteer/puppeteer/pull/6759 (in phantomas since https://github.com/macbre/phantomas/pull/857) -> use `puppeteer.networkConditions`: ```js const puppeteer = require('puppeteer'); const slow3G = puppeteer.networkConditions['Slow 3G']; (async () => { const browser = await puppeteer.launch(); const page...
The latest Puppeteer brings https://github.com/puppeteer/puppeteer/pull/7343 - CPU throttling emulation. ---- #### page.emulateCPUThrottling(factor) - `factor`
@gmetais, can't reproduce on the latest `devel`. Still broken for you?
@gmetais, did you try reproducing in on a different machine? Can you run `$ ./test/server-start.sh &` and attach the output of verbose log from the following? ``` phantomas http://0.0.0.0:8888/timing.html --verbose...