天天看點

[Selenium]對彈出的Alert視窗進行操作

1

2

<code>Alert alert = driver.switchTo().alert();</code>

<code>alert.accept();</code>