会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SunnyCC
博客园
首页
新随笔
联系
订阅
管理
2017年8月13日
如何使用selenium 驱动chrome浏览器并且打开方式为手机模式
摘要: 随着移动设备使用率的不断增加,移动页面的测试也变得越来越重要。 对于互联网公司M站的测试,如果不通过专用的appium等移动端测试工具是否还有方便快捷的办法呢?答案当然是有啊。 使用chrome driver和chrome浏览器并进入chrome的 toggle device mode 模式,就可以
阅读全文
posted @ 2017-08-13 17:06 SunnyCC
阅读(2294)
评论(0)
推荐(0)
2017年4月5日
数组转换为集合进行排序,集合、数组自定义排序
摘要: 数组转换成集合,sort方法进行排序 Integer[] nums = { 23, 16, 12, 58, 11 }; // 集合转换为数组 List<Integer> numList = Arrays.asList(nums); Collections.sort(numList); // 排序之后
阅读全文
posted @ 2017-04-05 12:15 SunnyCC
阅读(1373)
评论(0)
推荐(0)
2017年3月29日
字符串倒叙、英语单词整体倒叙
摘要: 字符串取反 String string = "abc123"; // 方式一 StringBuffer sBuffer1 = new StringBuffer(string); String string1 = sBuffer1.reverse().toString(); System.out.pr
阅读全文
posted @ 2017-03-29 17:05 SunnyCC
阅读(516)
评论(0)
推荐(0)
最大值、数据排序、九九乘法表、杨辉三角
摘要: 1.找出最大值、最小值 int[] nums = { 23, 12, 15, 99 }; int a = nums[0]; int index = 0; for (int i = 1; i < nums.length; i++) { // if(a>nums[i]){ //最小值 if (a < n
阅读全文
posted @ 2017-03-29 13:39 SunnyCC
阅读(493)
评论(0)
推荐(0)
公告