Skip to content

Commit 4d1076c

Browse files
committed
Update message location for mobile mode
1 parent 8cd0149 commit 4d1076c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

seleniumbase/fixtures/js_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,8 @@ def set_messenger_theme(driver, theme="default", location="default",
510510
theme = "flat"
511511
if location == "default":
512512
location = "bottom_right"
513+
if sb_config.mobile_emulator:
514+
location = "top_center"
513515
if max_messages == "default":
514516
max_messages = "8"
515517

0 commit comments

Comments
 (0)