1 | import time |
一开始直接找登陆的账号密码Element
但是却报错显示未查找到该Element
于是打印了下 page_source,查了下view-page
发现的确未有改元素
拜读了大佬的博客才知道这里使用了iframe加载了登陆框
然后就是定位该框,点击账号密码登录输入,点击登陆即可
1 | import time |
一开始直接找登陆的账号密码Element
但是却报错显示未查找到该Element
于是打印了下 page_source,查了下view-page
发现的确未有改元素
拜读了大佬的博客才知道这里使用了iframe加载了登陆框
然后就是定位该框,点击账号密码登录输入,点击登陆即可
Author:ReZero
原文链接:https://rezeros.github.io/2017/04/02/selenium-qzone/
发表日期:April 2nd 2017, 7:55:00 pm
更新日期:April 6th 2021, 2:20:52 am
版权声明:本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: true tags: true