1、连接上手机,数据线链接或者无线连接随便 2、打开你需要查看的app 3、打开终端,输入命令: adb shell dumpsys window w |grep \/ |grep name= ...
分类:
移动开发 时间:
2020-06-04 22:03:49
阅读次数:
245
ping这个小工具大家都非常熟悉,但是他不能ping端口,当我们需要知道目的地址的某端口是否开放时,这时需要用到这个tcping小工具了,Windows没有自带这个小工具,需要自己下载下来,放到指定目录里面。 一,先去官网下载tcping工具,链接https://download.elifulker ...
window.location.href="about:blank"; window.close(); ...
分类:
其他好文 时间:
2020-06-04 20:07:07
阅读次数:
595
1 const { href } = this.$router.resolve({ 2 name: "router-name", 3 query: { 4 id: 1 5 } 6 }); 7 window.open(href, '_blank'); ...
分类:
其他好文 时间:
2020-06-04 19:42:55
阅读次数:
109
前言 cypress 不仅可以用浏览器访问web页面,也可以直接发 request 请求访问接口。 在实际工作中,很多时候都需要先登录,如果只是写登录页面的案例,可以直接在web页面操作。 如果是写其他页面的案例,需要依赖登录,这时候应该是不需要再次重复打开页面去登录,正确的做法是在用例跑之前写个前 ...
分类:
Web程序 时间:
2020-06-04 19:27:43
阅读次数:
149
区分首先要了解window.navigator 输出navigator appCodeName: "Mozilla" appName: "Netscape" appVersion: "5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebK ...
分类:
移动开发 时间:
2020-06-04 13:27:02
阅读次数:
148
showRec:function(obj){window.formData=null;vardialog=layer.open({type:2,title:‘订单支付‘,content:‘orderPayShow.jsp‘,maxmin:true,area:layui.setter.area,btn:[‘关闭‘],btnAlign:‘c‘,success:function(layero,index
分类:
其他好文 时间:
2020-06-04 12:14:29
阅读次数:
57
<script type="text/javascript"> // borwserRedirect (function browserRedirect(){ var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUse ...
分类:
移动开发 时间:
2020-06-03 23:33:00
阅读次数:
109
前言 web页面的操作,有些元素不在窗口上显示,需滑动滚动条才能显示出来,Cypress 可以使用 scrollTo 操作滚动条的位置。 可以根据窗口的位置来滚动,也可以根据屏幕像素或百分比来滚动。 相关语法 操作 window 窗口对象,窗口上的滚动条,可以直接使用cy.scrollTo() cy ...
分类:
Web程序 时间:
2020-06-03 23:28:20
阅读次数:
131
showRec:function (obj) { window.formData = null; var dialog = layer.open({ type: 2 ,title: '订单支付' ,content: 'orderPayShow.jsp' ,maxmin: true ,area: la ...
分类:
其他好文 时间:
2020-06-03 23:11:21
阅读次数:
57