browsertime icon indicating copy to clipboard operation
browsertime copied to clipboard

No Har file when using Safari on MacOS Monterrey

Open marty90 opened this issue 3 years ago • 3 comments

Have you read the documentation?

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

marty90 avatar Apr 28 '22 14:04 marty90

Here the Safari Driver Log

safaridriver.26238.txt

marty90 avatar Apr 28 '22 14:04 marty90

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

soulgalore avatar Apr 28 '22 19:04 soulgalore

Hopefully this can happen when Safari support WebDriver Bidi.

soulgalore avatar Dec 17 '23 07:12 soulgalore