browsertime
browsertime copied to clipboard
No Har file when using Safari on MacOS Monterrey
Have you read the documentation?
- [X] Yes, I've read the how to make a reproducable bug guide
- [X] Yes, I've read the how to debug my script guide
URL
www.google.com
What are you trying to accomplish
I am using BrowserTime on MacOS with Safari 15.4. I cannot find the HAR file, while with Chrome everything works.
What browser did you use?
Safari Mac OS
How to reproduce
Running this on MacOS:
./node_modules/browsertime/bin/browsertime.js -b safari https://www.google.com -n 1 --visualMetrics --viewPort=800x600
### Relevant log output
```shell
[2022-04-28 16:09:44] INFO: Running tests using Safari - 1 iteration(s)
[2022-04-28 16:09:45] INFO: Testing url https://www.google.com iteration 1
[2022-04-28 16:10:04] INFO: Get visual metrics from the video
[2022-04-28 16:10:06] INFO: https://www.google.com TTFB: 112ms, firstVisualChange: 33ms, FCP: 222ms, DOMContentLoaded: 203ms, Load: 320ms, speedIndex: 7.59s, visualComplete85: 8.33s, lastVisualChange: 8.47s
[2022-04-28 16:10:06] INFO: Wrote data to browsertime-results/www.google.com/2022-04-28T160943+0200
Hi @marty90 yep I know, it not implemented. I created a Feedback assistant issue some years ago trying to convince Apple to implement a easy way to get the HAR. There's a little bit about in the blog post: https://www.sitespeed.io/all-i-want-for-christmas/#-some-love-from-the-safari-team
Feedback Assistant is private but that issue is almost the same as https://bugzilla.mozilla.org/show_bug.cgi?id=1744483
Hopefully this can happen when Safari support WebDriver Bidi.