internet explorer - IELaunchURL issue with Selenium IE Driver -


i running several test cases using selenium grid. using latest driver , selenium packages.

some time script running fine , time below error on ie.

i not getting issue every time, often.

 unexpected error launching internet explorer.  ielaunchurl() returned hresult 80070005 ('access denied.') url 'http:// localhost:13879/' 

when tried solution provided below, it's need changes windows registry not possible in enterprise.

https://code.google.com/p/selenium/issues/detail?id=7045

there several such questions in , none has response.

edit: due company policies, not allowed enable protected mode in zones. have have below code avoid protected mode issues.

iecapabilities.setcapability(     internetexplorerdriver.introduce_flakiness_by_ignoring_security_domains,     true ); 

the fix have found sync protected flags. capabilities flag set doesn't work in cases. i'm not sure why doesn't ignore consistently, guess ie keeps changing implementation release updates , flag isn't consistent updates.

the security issue iedriver accessing , controlling browser indicates microsoft "unknown" process "possessing" browser. registry entries related configuring iedriver secured process control ie. i'm not sure of specific registry parts ie utilizes, find them on ie specific registry site.

even registry fixes if protected flags different iedriver gets confused , may lose window , throw window not found exception after launching it. recommend trying enable protected mode checkboxes 4 items in security settings. other part ie launch , tell you don't have "recommended" settings , use "recommended" settings. need click no , don't ask me again option.

after of above, update ie have redo again anyway, whoever in control of environment needs on board if want use ie.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -