|
|
|
@ -10,16 +10,17 @@ module.exports = function (browser, callback, url, preloadPlugins = true) { |
|
|
|
|
if (preloadPlugins) { |
|
|
|
|
initModules(browser, () => { |
|
|
|
|
browser.clickLaunchIcon('solidity') |
|
|
|
|
.pause(2000) |
|
|
|
|
console.log('called init after') |
|
|
|
|
browser.pause(2000) |
|
|
|
|
.execute(() => { |
|
|
|
|
document.getElementById('autoCompile').click() |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.perform(() => { |
|
|
|
|
callback() |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|
.perform(() => { |
|
|
|
|
callback() |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|