Selenium Webdriver - (Java) - working with HTML dialogs
问题 Here is the situation: Click on Import file button (this action will upload a file). After file upload, then appears a popup (HTML popup). I used driver.switchTo().frame(1); to switch to that popup and click "Next" in that popup. Clicking Next will navigate user to second step in that popup. Click process commission button in that second step of popup. After clicking process commission button, then appears a new confirmation popup (HTML popup). I am not able to click yes in that confirmation