Windows authentication code no longer working now

后端 未结 3 2032
轻奢々
轻奢々 2020-12-21 21:15

My below code for windows authentication was working well for over a year. But for the last few days it is longer working now. I am not able to identify exact reason for tha

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-21 22:16

    Did you try

    driver.switchTo().alert();

    or

    driver.switchTo().activeElement();

    before typing credentials?

    However, if this works I can't explain why it worked before.

提交回复
热议问题