Je suis confronté à un problème lors de l'utilisation de IEDriver sur Windows Server 2012 R2. Sur Windows 10, le ChromeDriver, IEDriver et GeckoDriver fonctionnent parfaitement, cependant, sur Windows Server, seul ChromeDriver fonctionne.IELaunchURL() a renvoyé HRESULT 80070012 ('Il n'y a plus de fichiers.')
IEDriver revient OpenQA.Selenium.WebDriverException: erreur inattendue le lancement d'Internet Explorer. IELaunchURL() retourne HRESULT 80070012 («Il n'y a pas d'autres fichiers.) Ces configurations
J'ai ajouté:
- Protection Mode Même
- Registre Changements clés
- Ajouté PATH
Versions:
- IE 11.0.9600.17416
- Selenium.WebDriver 3.5.1
- IEDriverServer 3,6
Le code J'utilise actuellement est ce (C#):
InternetExplorerOptions options = new InternetExplorerOptions();
options.IgnoreZoomLevel = true;
options.IntroduceInstabilityByIgnoringProtectedModeSettings = true;
return ieDriver = new InternetExplorerDriver("Path To IEDriver", options);
Quelqu'un peut-il s'il vous plaît aidez-moi à corriger cette erreur?
OMI, 'IEDriverServer 3.6.0.0 'est compatible avec' Selenium.WebDriver 3.6.0' mais pas avec 'Selenium.WebDriver 3.5.1'. Soit augmenter Selenium à v3.6.0 ou bump down IEDriverServer à v3.5.1.0. – DebanjanB
@DebanjanB Merci pour votre suggestion, mais le problème persiste, juste essayé 3.5.1 – user1343543
Quelle liaison Selenium utilisez-vous Java/Python/C#/Ruby/NodeJS? – DebanjanB