摘要: 可使用的验证码 1.0 "fluent简化代码" 1.1 普通post请求 1.2 最普通的http请求 代理 1.2 设置请求代理(Post请求) http 1.3 发起https请求 阅读全文
posted @ 2017-08-11 17:31 Desneo 阅读(369) 评论(0) 推荐(0) 编辑
摘要: ``` public class SuningAutoClock { public static void AutoClock() throws IOException, InterruptedException { SuningAutoClock autoLoginSuning = new SuningAutoClock(); autoLoginSuni... 阅读全文
posted @ 2017-08-11 14:35 Desneo 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 4.1 鼠标操作 1). 鼠标左键点击 2). 鼠标右键点击 3). 鼠标双击 4). 鼠标拖拽动作 5). 鼠标悬停操作 6). 鼠标移动操作 7). 释放鼠标 4.2 键盘操作 4.2.1 普通键 sendkeys 4.2.2 控制键(Ctrl/Alt) keyDown 不释放 4.3 "批量上 阅读全文
posted @ 2017-08-11 14:19 Desneo 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 3.1定位 3.1.1 By.name("xxx") 定位name属性 3.1.2 By.id() 按id定位 3.1.3 By.linkText() 定位超链接 3.1.4 By.cssSelector() 速度快 3.1.5 By.xPath() 速度慢 终极方法 //F12控制台 Elemen 阅读全文
posted @ 2017-08-11 14:18 Desneo 阅读(243) 评论(0) 推荐(0) 编辑