11 2016 档案
摘要:有三种方法可以使终止线程。 1. 使用退出标志,使线程正常退出,也就是当run方法完成后线程终止。 2. 使用stop方法强行终止线程(这个方法不推荐使用,因为stop和suspend、resume一样,也可能发生不可预料的结果)。 3. 使用interrupt方法中断线程。 1. 使用退出标志终止
阅读全文
摘要:工作中遇到需要对项目中使用的selenium设置代理,跟大家分享一下。 1.下载chromeDriver:http://chromedriver.storage.googleapis.com/index.html 2. 将下载好的文件解压,将chromedriver.exe拷贝到chrome根目录,
阅读全文
摘要:原文:http://www.cnblogs.com/tobecrazy/p/4570494.html 工作中使用到记录一下。 主要有: 上传 alter dialog prompt dialog confirm dialog select list radio box input box check
阅读全文

浙公网安备 33010602011771号