Skip to content

Commit 30d481d

Browse files
committed
Profiles are encoded as base64 zips
They are meant to be transmitted as a single string value, which is the base64 encoded zip of the profile. They are not meant to be encoded as a JSON object with a single 'zip' field
1 parent 0e680bc commit 30d481d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/common/profile_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def self.included(base)
3030
end
3131

3232
def as_json(*)
33-
{'zip' => Zipper.zip(layout_on_disk)}
33+
Zipper.zip(layout_on_disk)
3434
end
3535

3636
def to_json(*)

0 commit comments

Comments
 (0)