diff options
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 210132ef152..9d14f95ad6d 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -2972,9 +2972,9 @@ class Driver: processController = LocalProcessController else: processController = UWPProcessController - elif process and current.config.browser and isinstance(process.getMapping(), JavaScriptMixin): + elif process and current.config.browser and isinstance(process.getMapping(current), JavaScriptMixin): processController = BrowserProcessController - elif process and current.config.android and isinstance(process.getMapping(), JavaMapping): + elif process and current.config.android and isinstance(process.getMapping(current), JavaMapping): processController = AndroidProcessController else: processController = LocalProcessController |