摘要:
有些浏览器的页面操作,不能依靠WebDriver提供的API来操作,需要借助JavaScript脚本。webdriver提供了execute_script()方法来执行JavaScript代码。from selenium import webdriver import time driver = w 阅读全文
posted @ 2019-12-22 23:18
小白龙白龙马
阅读(1004)
评论(0)
推荐(0)
摘要:
from selenium import webdriver import time options = webdriver.ChromeOptions() prefs = { 'profile.default_content_settings.popups':0 ,'download.defaul 阅读全文
posted @ 2019-12-22 22:42
小白龙白龙马
阅读(2238)
评论(0)
推荐(0)