            _connectDriver() {
                const requests = this.instances.map(instanceHost => {
                    // If the 'Custom Script' Driver type is selected, the Groovy code block is
                    // POSTed to the API to connect the Driver
                    if (this._isCustomScript) {
                        const requestBody = new FormData();
                        requestBody.append('dynamicplugin', this._customScriptBody);
                        return fetch(`//${instanceHost}/RES