shabashj
4/4/2017 - 8:23 AM

Browser.execute demystified -

Browser.execute demystified -

browser.execute(function (iAmParameterFromArray) {
            return doSomething(iAmParameterFromArray);
        }, ['iAmParameterToGoToFirstFunction'], function (iAmReturnFromDoSomething) {
            browser.doWhatYouWant(iAmReturnFromDoSomething);
        });