Edge Chromium : No matching capabilities found

Thanks to Edge Chromium default download directory
we know how the code should look like:

case WebUIDriverType.EDGE_CHROMIUM_DRIVER:
System.setProperty(‘webdriver.edge.driver’, DriverFactory.getEdgeChromiumDriverPath())

    EdgeOptions options = new EdgeOptions()

    Map<String, Object> prefs = new HashMap<String, Object>()

    prefs.put('profile.default_content_settings.popups', 0)

    prefs.put('download.default_directory', GlobalVariable.downloadFolder)

    prefs.put('download.prompt_for_download', false)
	
	
	Map<String, Object> edgeOptions = new HashMap<String, Object>()
	
	edgeOptions.put('prefs', prefs)
	
	edgeOptions.put('useAutomationExtension', false)
	
	edgeOptions.put('args', ["--no-sandbox", "--disable-dev-shm-usage"])
	
	
	options.setCapability('ms:edgeChrominum', true)
	
	options.setCapability('ms:edgeOptions', edgeOptions)
	

    driver = new EdgeDriver(options)
    
    break
	
default:
    WebUI.openBrowser('')}

// let Katalon Studio to use the WebDriver created here
DriverFactory.changeWebDriver(driver)