摘要: 一、现象描述 如下图所示,手动新建个类包calculator.py,想在test.py文件引用它,发现一直报红线,引用失败 Unresolved reference 'calculator' less... (Ctrl+F1) This inspection detects names that s 阅读全文
posted @ 2018-01-17 18:13 Owen_ET 阅读(5086) 评论(0) 推荐(1) 编辑
摘要: 总结了一下有关puppeteer的学习的网站,以后还会继续更新 puppeteer 介绍 Puppeteer是一个通过DevTools Protocol控制headless chromium的高级node库, 也可通过设置设置非headless Chromium. Puppeteer有chrome官 阅读全文
posted @ 2018-01-03 10:11 Owen_ET 阅读(2258) 评论(0) 推荐(1) 编辑
摘要: 步骤一:首先,安装node.js环境,从官网下载最新的安装包。 步骤二:安装完成之后,再安装npm,通过命令行输入:npm install -g cnpm --registry=https://registry.npm.taobao.org 简介NPM: NPM的全称是Node Package Ma 阅读全文
posted @ 2018-01-02 14:46 Owen_ET 阅读(3774) 评论(3) 推荐(0) 编辑
摘要: 现象一: module.js:557 throw err; ^ Error: Cannot find module 'puppeteer' at Function.Module._resolveFilename (module.js:555:15) at Function.Module._load 阅读全文
posted @ 2017-12-19 10:50 Owen_ET 阅读(9452) 评论(0) 推荐(0) 编辑
摘要: 感谢:努力拼搏的80后的《巧用Axure三步轻松搞定图片验证码》、 人人都是产品经理的《Axure 教程:实现倒计时获取验证码效果》 阅读全文
posted @ 2017-12-12 19:13 Owen_ET 阅读(361) 评论(0) 推荐(0) 编辑
摘要: from selenium import webdriver from selenium.webdriver.common.by import By import os,time driver = webdriver.Chrome() file_html = "file:///" + os.path.abspath("C:/Users/XXXXXX/Desktop/PY_file/html... 阅读全文
posted @ 2017-12-09 15:18 Owen_ET 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 感谢CSDN:huilan_same大神 网页地址:http://blog.csdn.net/huilan_same/article/details/52200586 阅读全文
posted @ 2017-10-26 19:03 Owen_ET 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 一.现象还原: 当新建.py文件时,需要引用selenium中的方法时,报错,提示红波浪线: Unresolved reference 'selenium' less... (Ctrl+F1) This inspection detects names that should resolve but 阅读全文
posted @ 2017-10-09 15:34 Owen_ET 阅读(15539) 评论(4) 推荐(2) 编辑
摘要: 如上图,输入一个单词时会出现波浪线,报:Spellchecker inspection helps locate typos and misspelling in your code, comments and literals, and fix them in one click. 翻译:拼写检查 阅读全文
posted @ 2017-08-24 17:51 Owen_ET 阅读(2494) 评论(0) 推荐(0) 编辑
摘要: 感谢: 煜妃的《Python+Selenium定位不到元素常见原因及解决办法(报:NoSuchElementException)》 ClassName定位报错问题:《【Python】Selenium元素定位错误之解决办法》 阅读全文
posted @ 2017-08-21 16:23 Owen_ET 阅读(291) 评论(0) 推荐(0) 编辑