Skip to content

Commit f01ff20

Browse files
committed
Update set_messenger_theme(...)
1 parent 6c58479 commit f01ff20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3616,6 +3616,8 @@ def set_messenger_theme(self, theme="default", location="default",
36163616
location = "default" # "bottom_right"
36173617
if not max_messages:
36183618
max_messages = "default" # "8"
3619+
else:
3620+
max_messages = str(max_messages) # Value must be in string format
36193621
js_utils.set_messenger_theme(
36203622
self.driver, theme=theme,
36213623
location=location, max_messages=max_messages)

0 commit comments

Comments
 (0)