摘要: helium的常规操作 前言 helium对浏览器的一些常规操作讲解 click():左键单击 def click(element): """ :param element: The element or point to click. :type element: str, unicode, :p 阅读全文
posted @ 2021-05-12 08:44 xihuainfo 阅读(896) 评论(0) 推荐(0) 编辑
摘要: helium的浏览器启动及option配置 前言 helium只支持chrome和firefox两个浏览器,其中option配置是基于selelium来配置的,所以所调用的也是seleium的配置方式 浏览器启动 首先看看源码 # 启动谷歌浏览器 def start_chrome(url=None, 阅读全文
posted @ 2021-05-11 15:14 xihuainfo 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: 本篇文章介绍如何使用JS和键盘对象对页面进行滑动滚动条 主要针对java做自动化测试的同学 一:使用键盘对象操作滚动条 //导包 import org.openqa.selenium.interactions.Actions; // 创建鼠标键盘操作对象 Actions actions = new 阅读全文
posted @ 2018-09-25 16:21 xihuainfo 阅读(3354) 评论(0) 推荐(0) 编辑
摘要: mysql的下载就不用说了,自行到官网下载。。(本人下载的是mysql5.0版本) 下面开始正式安装 1、双击mysql_setup.exe后,直接点击Next 2、选择“I accept the terms in the license agrement” 点击Next 3、选择“Custom”自 阅读全文
posted @ 2018-09-05 17:45 xihuainfo 阅读(1650) 评论(0) 推荐(0) 编辑