Skip to content

Commit 061870f

Browse files
committed
variables should accept a Python dict in sb_manager
1 parent b5851fc commit 061870f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

seleniumbase/plugins/sb_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ def SB(
875875
'\nExpecting a Python dictionary for "variables"!'
876876
"\nEg. --variables=\"{'KEY1':'VALUE', 'KEY2':123}\""
877877
)
878-
else:
878+
elif not isinstance(variables, dict):
879879
variables = {}
880880
if disable_csp is None:
881881
if (

0 commit comments

Comments
 (0)