My selenium automation breaks with new Edge “experimental mode” – “DOWNLOAD MICROSOFT EDGE MOBILE APP” POP-UP
<code> EdgeOptions edgeoptions = new EdgeOptions();
edgeoptions.AddArgument("--disable-features=msEdgeEnableNurturingFramework");
driver = new EdgeDriver(edgeoptions);
</code>
<code> EdgeOptions edgeoptions = new EdgeOptions();
edgeoptions.AddArgument("--disable-features=msEdgeEnableNurturingFramework");
driver = new EdgeDriver(edgeoptions);
</code>
EdgeOptions edgeoptions = new EdgeOptions();
edgeoptions.AddArgument("--disable-features=msEdgeEnableNurturingFramework");
driver = new EdgeDriver(edgeoptions);
I tried the above and it still popup opens and automation breaks.
I also saw this code which i added but
edgeoptions.add_experimental_option(“prefs”, { “user_experience_metrics”: { “personalization_data_consent_enabled”: True} });
edgeoptions does not contain a definition for add_experimental_option
Any help would be appreciated.