Unfortunately, Groovy and IDE are in the process of being phased out by December 31, 2022.
You should look at one of the Edge Driver alternatives at this point.
Also check out CLI.