createSelectorScript = function createSelectorScript(fn, selectors, args) {
    var strArgs = [];
    var foundSel = [];

    var _iteratorNormalCompletion = true;
    var _didIteratorError = false;
    var _iteratorError = undefined;

    try {
        for (var _iterator = (0, _getIterator3.default)(selectors), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
            var selector = _step.value;

            var val = (0, _findElementStrategy2.default)(selector);
            foundSel.push(val.using, val.value);
        }
    } catch (err) {
        _didIteratorError = true;
        _iteratorError = err;
    } finally {
        try {
            if (!_iteratorNormalCompletion && _iterator.return) {
                _iterator.return();
            }
        } finally {
            if (_didIteratorError) {
                throw _iteratorError;
            }
        }
    }

    strArgs.push(getFn(fn, this.inMultibrowserMode));
    strArgs.push((0, _stringify2.default)(foundSel));
    strArgs.push(getArgs(args, this.inMultibrowserMode));

    return `return (${executeClientSide})(${strArgs.join(',')}, arguments[arguments.length - 1]);`.replace(/( {4}|\t)+/g, ' ');
}
Returns the script to execute in the browser, in string format.
@param {Function|String} fn - function to execute in the browser
@param {Array.<String>} selectors - the selectors to resolve and pass to fn, each in its own array
@param {Array} args - the arguments to pass to fn (after resolved selectors)
@param {Function} callback
@return {String} The script to execute in the browser, as a string.