fix(playwright engine): bug in checking nstbrowser_config type
This commit is contained in:
1 parent
148103f3c8
commit
ae60c2c0ad
1 file changed
+1
-1
@@ -105,7 +105,7 @@ class PlaywrightEngine:
|
||||
"""
|
||||
cdp_url = self.cdp_url
|
||||
if self.nstbrowser_mode:
|
||||
if self.nstbrowser_config and type(self.nstbrowser_config) is Dict:
|
||||
if self.nstbrowser_config and isinstance(self.nstbrowser_config, dict):
|
||||
config = self.nstbrowser_config
|
||||
else:
|
||||
query = NSTBROWSER_DEFAULT_QUERY.copy()
|
||||
|
||||
Reference in new issue
Block a user