You should try to match your Webdriver and edge version, because in my case whenever I get this type of issue, I solve it by matching the version, most of the time as edge driver and webdriver always shows to update the driver..