如何在 Selenium 中自动化这个弹出窗口?

How to automate this popup in Selenium?

如何在 Selenium 中自动执行此弹出窗口 (Java)。请帮助我。

试试下面的代码:

driver.get("http://username:password@your_link");

where username and password -- your creds for authentication popup, your_link -- link 到该站点,其中出现身份验证弹出窗口。