2015年5月19日

python + selenium <四>

摘要: 层级定位swich_to_alertswich_to_frameswich_to_window1.driver.switch_to_alert().accept()#最简单,直接点击确定关闭弹出提示框2.swich_to_frame 要处理的frame有唯一的Id或name还好,直接:driver... 阅读全文

posted @ 2015-05-19 12:32 涛哥爱吃面 阅读(368) 评论(0) 推荐(0)

导航