diff --git a/browsersupport/firefox-profile/cert9.db b/browsersupport/firefox-profile/cert9.db deleted file mode 100644 index 7403649cf..000000000 Binary files a/browsersupport/firefox-profile/cert9.db and /dev/null differ diff --git a/browsersupport/firefox-profile/chrome/userChrome.css b/browsersupport/firefox-profile/chrome/userChrome.css deleted file mode 100644 index 213f40996..000000000 --- a/browsersupport/firefox-profile/chrome/userChrome.css +++ /dev/null @@ -1,4 +0,0 @@ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ - -/* use this code to hide all messages */ -statuspanel { display:none!important; } diff --git a/browsersupport/firefox-profile/key4.db b/browsersupport/firefox-profile/key4.db deleted file mode 100644 index b98a99ac1..000000000 Binary files a/browsersupport/firefox-profile/key4.db and /dev/null differ diff --git a/lib/firefox/webdriver/builder.js b/lib/firefox/webdriver/builder.js index e311369fa..831e388c5 100644 --- a/lib/firefox/webdriver/builder.js +++ b/lib/firefox/webdriver/builder.js @@ -55,15 +55,10 @@ export async function configureBuilder(builder, baseDir, options) { const ffOptions = new Options(); - const profileTemplatePath = resolve( - moduleRootPath, - 'browsersupport', - 'firefox-profile' - ); - - ffOptions.setProfile( - get(firefoxConfig, 'profileTemplate') || profileTemplatePath - ); + const profileTemplate = get(firefoxConfig, 'profileTemplate'); + if (profileTemplate) { + ffOptions.setProfile(get(firefoxConfig, 'profileTemplate')); + } if (options.userAgent) { ffOptions.setPreference('general.useragent.override', options.userAgent);