python selenium 弹框元素获取 js弹框: 点击【确定】按钮,driver.switch_to_alert().accept() 点击【取消】按钮,driver.switch_to_alert().dismiss()