摘要:
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from time import sleep driver=webdriver.Firefox() driv 阅读全文
posted @ 2021-04-24 23:58
自然观察家
阅读(162)
评论(0)
推荐(0)
摘要:
find_elements_by_tag_name("input")tag name 就是标签的意思浏览器调试可以用 document.getElementsByTagName("input") xpath 绝对路径定位 /html/body/div[1]/div[1]/div[5]/div/div 阅读全文
posted @ 2021-04-24 18:17
自然观察家
阅读(53)
评论(0)
推荐(0)
摘要:
一、三大浏览器的驱动地址: chrome驱动:http://chromedriver.storage.googleapis.com/index.html Firefox驱动:https://github.com/mozilla/geckodriver/releases/ edge驱动:https:/ 阅读全文
posted @ 2021-04-24 17:42
自然观察家
阅读(459)
评论(0)
推荐(0)
摘要:
python 多进程,多线程简单的 # -*- coding:utf-8 -*- from time import ctime,sleep import threading #线程 import multiprocessing #多进程 def talk(c,loop): for i in rang 阅读全文
posted @ 2021-04-24 14:59
自然观察家
阅读(50)
评论(0)
推荐(0)
摘要:
创建一个xml文件Class_info.xml 用来存储班级学生(姓名,年龄,城市),老师(姓名,年龄,城市)、教务账号(学生和老师的账号,密码)等信息。 <?xml version="1.0" encoding="UTF-8" ?> <Class> <student> <name >Jack</n 阅读全文
posted @ 2021-04-24 12:56
自然观察家
阅读(1960)
评论(0)
推荐(0)

浙公网安备 33010602011771号