summaryrefslogtreecommitdiff
path: root/scripts/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Util.py')
-rw-r--r--scripts/Util.py4
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