ChromeDriver error “unknown error: cannot get automation extension”

后端 未结 15 2063
星月不相逢
星月不相逢 2020-12-10 23:43

Since the 7th of February all my tests are failing with the same error; the log entry reads:

RESPONSE MaximizeWindow unknown error: cannot get automation ext         


        
15条回答
  •  时光说笑
    2020-12-11 00:35

    Updating your chrome driver exe would not actually fixed this issue, if you observed, it is happening while you're re-sizing chrome driver.Manage().Window.Maximize();

    Try to comment this line and try again.

    It's a quick fix, I'll update my answer once I find the root cause of this(however it seems because of browser update as nothing was changed in code for me).

    Update: For me, it seems to be because of browser update as once I updated again this issue was gone.

提交回复
热议问题