I want to pass this function with .then to an async / await function but I can\'t find the correct way. Here is the function:
waitForCssClass = function(cssCl