When I used the driver.switchto().alert().getText(), it didn't respond. It stayed there and didn't report an error. I thought it was because my element couldn't be found. Then I used the same writing method to use the chromedriver to run normally. What's the reason? It's been bothering me for more than a week.
When I used the driver.switchto().alert().getText(), it didn't respond. It stayed there and didn't report an error. I thought it was because my element couldn't be found. Then I used the same writing method to use the chromedriver to run normally. What's the reason? It's been bothering me for more than a week.