摘要:
from selenium import webdriverjs="window.open('{}','_blank');"#第一个网站driver=webdriver.Chrome()driver.get('http://web1.com')driver.find_element_by_id('u 阅读全文
selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome proce
摘要:
报错:selenium.common.exceptions.WebDriverException: Message: unknown error: Failed to create Chrome process.Stacktrace:Backtrace:Ordinal0 [0x00FA7AC3+25 阅读全文
摘要:
1.for循环const arr = [{name:‘小明’},{name:‘小红’},{name:‘小红’},{name:‘小红’}];const obj = {};const newArr = [];for(let i=0;i<arr.length;i++){if(!obj[arr[i].nam 阅读全文
摘要:
源码:with open(os.getcwd() + "\\category.txt", encoding='utf-8') as file_read: for line in file_read.readlines(): categorys.append(json.loads(line.strip 阅读全文