We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829f21e commit 470762cCopy full SHA for 470762c
py/selenium/webdriver/firefox/firefox_profile.py
@@ -173,7 +173,7 @@ def encoded(self):
173
filename = os.path.join(base, fyle)
174
zipped.write(filename, filename[path_root:])
175
zipped.close()
176
- return base64.encodestring(fp.getvalue())
+ return base64.b64encode(fp.getvalue()).decode('UTF-8')
177
178
def set_proxy(self, proxy):
179
import warnings
0 commit comments