Skip to content

Commit 7c97c37

Browse files
erikbeerepootlukeis
authored andcommitted
Update firefox_profile.py
Fixes #1294 Signed-off-by: Luke Inman-Semerau <luke.semerau@gmail.com>
1 parent 85bcf8d commit 7c97c37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/selenium/webdriver/firefox/firefox_profile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ def encoded(self):
164164
A zipped, base64 encoded string of profile directory
165165
for use with remote WebDriver JSON wire protocol
166166
"""
167+
self.update_preferences()
167168
fp = BytesIO()
168169
zipped = zipfile.ZipFile(fp, 'w', zipfile.ZIP_DEFLATED)
169170
path_root = len(self.path) + 1 # account for trailing slash

0 commit comments

Comments
 (0)