码迷,mamicode.com
首页 >  
搜索关键字:Selenium css定位    ( 6592个结果
【Selenium】3.介绍Selenium IDE
本文供学习交流之用,没有商业用途,没有盈利。 完全是我自己为督促自己学习而翻译的。翻译的不好,见谅。来源于:http://www.guru99.com/introduction-selenuim-ide.html 好长超长!我这啥时候才能翻译完呀!Damn it!I mean it! 介绍Selen ...
分类:其他好文   时间:2021-02-08 11:46:45    阅读次数:0
自动化测试相关
Python Selenium库 https://blog.csdn.net/weixin_36279318/article/details/79475388 Python playwright库 https://github.com/microsoft/playwright-python http ...
分类:其他好文   时间:2021-02-04 12:05:35    阅读次数:0
selenium3+python3中的嵌套页面定位元素
from selenium import webdriverfrom time import sleepdriver=webdriver.Firefox()adddress="地址"driver.get(adddress)#进入嵌套的frame中寻找元素driver.switch_to_frame( ...
分类:编程语言   时间:2021-01-28 12:10:48    阅读次数:0
lxml webdriver 抓取街拍
案例 import os from hashlib import md5 from selenium import webdriver import requests from lxml import etree # 首页请求 def get_response(url): headers = {"u ...
分类:Web程序   时间:2021-01-28 11:56:06    阅读次数:0
python自动化操作问题
from selenium import webdriverfrom time import sleepbro=webdriver.Chrome(executable_path='chromedriver.exe')bro.get('https://kyfw.12306.cn/otn/resourc ...
分类:编程语言   时间:2021-01-22 11:59:34    阅读次数:0
Selenium
自动化测试工具,可以驱动浏览器执行特定的动作,如点击,下拉等。支持多种浏览器,爬虫中主要用来解决JavaScript渲染问题。 1.准备工作 使用之前需安装好谷歌浏览器以及ChromeDriver,以及python的第三方库Selenium 2.基本使用 broser = webdriver bro ...
分类:其他好文   时间:2021-01-14 10:44:57    阅读次数:0
selenium 点击元素的三种方法
code #follow_order_information_page_driver.get("选择非企业员工").click() #element = follow_order_information_page_driver.get("选择非企业员工") #charome.execute_scri ...
分类:其他好文   时间:2021-01-14 10:43:50    阅读次数:0
浏览器模拟手机模式操作
代码实现如下: import os from selenium import webdriver #配置浏览器以手机模式启动 chrome_options = webdriver.ChromeOptions() #选择一种存在的模式手机设备(分辨率) chrome_options.add_exper ...
分类:移动开发   时间:2021-01-13 11:26:24    阅读次数:0
selenium反爬虫设置
from selenium import webdriveroptions = webdriver.ChromeOptions()# 设置为开发者模式,防止被各大网站识别出来使用了Selenium# 屏蔽 windows.navigator.webdriveroptions.add_experime ...
分类:其他好文   时间:2021-01-13 11:25:44    阅读次数:0
如何用 Python 做自动化测试
一、Selenium 环境部署 1. window 环境部署 1.1 当前环境 Win10 64 位系统;Python3.6.2(官方已经更新到了 3.6.4) 官方下载地址:https://www.python.org/downloads Selenium 3.4.3;谷歌 59。 1.2 Pyt ...
分类:编程语言   时间:2021-01-13 11:08:49    阅读次数:0
6592条   上一页 1 ... 7 8 9 10 11 ... 660 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!