diff --git a/apps/remix-ide/test-browser/commands/getInstalledPlugins.js b/apps/remix-ide/test-browser/commands/getInstalledPlugins.js index b595bdaea4..fadbcca320 100644 --- a/apps/remix-ide/test-browser/commands/getInstalledPlugins.js +++ b/apps/remix-ide/test-browser/commands/getInstalledPlugins.js @@ -6,7 +6,7 @@ class GetInstalledPlugins extends EventEmitter { browser.waitForElementPresent('[plugin]:not([plugin=""]') .perform((done) => { - browser.execute(() => { + browser.execute(function() { const pluginNames = [] const plugins = document.querySelectorAll('[plugin]:not([plugin=""]')