Unable to resolve class WebElement when Recording? Please help

Try “ctrl+shift+o” when you are in script mode. It will import for you any missing classes.