const array1 = ['a', 'b', 'c']; for (const element of array1) { console.log(element);} // expected output: "a"// expected output: "b"// expected outpu ...
分类:
其他好文 时间:
2019-12-31 12:50:32
阅读次数:
97
mac 安装homebrew出错 Failed to connect to raw.githubusercontent.com port 443: Connection refused error:原创heroacool 发布于2019-10-31 19:45:04 阅读数 5672 收藏展开 折腾 ...
分类:
系统相关 时间:
2019-12-28 18:55:15
阅读次数:
115
Expected Square Beauty 有一个长度为 n 的数列,第 i 个数的取值范围为 $[l_i,r_i]$ ,定义一个数列的价值为这个数列极长连续相同段的个数,求一个数列价值的平方期望,对 $10^9+7$ 取模 。 n≤200000 。 题解 https://codeforces.c ...
分类:
其他好文 时间:
2019-12-27 23:38:51
阅读次数:
82
简介 一个制造商在生产制造网卡之前,必须先向 IEEE 注册,以获取到一个长度为 24bit 的厂商代码,也称为 OUI(Organizationally-Unique Identifier)。制造商在生产制造网卡的过程中,会往每一块网卡的 ROM 中烧入一个 48bit 的 BIA(Burned- ...
分类:
系统相关 时间:
2019-12-25 22:25:13
阅读次数:
150
博客:https://blog.51cto.com/11581141/1970134 jmeter-report-detail报告配置文件修改点 Test failed: text expected to contain /重复交易/ 取两个/之间的字段 ...
分类:
其他好文 时间:
2019-12-24 18:31:06
阅读次数:
70
USE [stalentzx]GO/****** Object: Trigger [dbo].[GZ_HISTORY_INSERT] Script Date: 2019/12/24 13:11:40 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ON ...
分类:
其他好文 时间:
2019-12-24 14:00:37
阅读次数:
81
1. 判断元素(expected_conditons) 作为一个刚刚转到python开发的小朋友,在开发前只将前辈们封装的方法看了一遍,学了一边selenium基础。看到封装的方法有什么判断元素是否存在、判断元素是否可见,而在基础知识中根本不存在,一脸懵逼。 直到写爬虫案例的时候,突然发现了sele ...
分类:
其他好文 时间:
2019-12-22 18:13:05
阅读次数:
78
一、今天遇到的一个错误 IndentationError: expected an indented block 翻译:缩进错误。检查下提示所在行,缩进格数 ...
分类:
编程语言 时间:
2019-12-19 17:41:13
阅读次数:
99
from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import UnexpectedAlertPresentException #存在弹窗处理方法一 : E ...
分类:
编程语言 时间:
2019-12-15 14:52:12
阅读次数:
487