From 777a0f40e14a8e4102f91efd42b11f984dddc623 Mon Sep 17 00:00:00 2001 From: soulgalore Date: Tue, 13 Feb 2024 18:42:28 +0100 Subject: [PATCH] docs: document snap installed Firefox workaround --- docs/documentation/sitespeed.io/browsers/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/sitespeed.io/browsers/index.md b/docs/documentation/sitespeed.io/browsers/index.md index 192370a5d..e088bd863 100644 --- a/docs/documentation/sitespeed.io/browsers/index.md +++ b/docs/documentation/sitespeed.io/browsers/index.md @@ -19,7 +19,7 @@ twitterdescription: You can use Firefox, Safari, Chrome, Edge and Chrome/Firefox You can fetch timings, run your own JavaScript and record a video of the screen. The following browsers are supported: Firefox, Safari, Edge, Chrome, Chrome and Firefox on Android and Safari on iOS. If you run our Docker containers, we always update them when we tested the latest stable release of Chrome and Firefox. Safari and Safari on iOS needs Mac OS X Catalina. Edge need the corresponding MSEdgeDriver. ## Firefox -The latest version of Firefox should work out of the box. +The latest version of Firefox should work out of the box except if you are on Linux and run Snap installed Firefox, then you need to [follow the workaround](https://github.com/mozilla/geckodriver/releases/tag/v0.31.0) by setting a TMPDIR that Geckodriver and Firefox will use. ### Firefox profile setup At the moment we setup a new profile for each run the browser do. We set up the profiles preferences like [this](https://github.com/sitespeedio/browsertime/blob/main/lib/firefox/webdriver/firefoxPreferences.js). We use Mozillas [own configuration](https://searchfox.org/mozilla-central/source/testing/talos/talos/config.py) as default with some changes + some extra configuration for performance and privacy.