腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
TypeError
:
无法
读取
null
的
属性
“
innerText
”
javascript
、
puppeteer
当我尝试测试我
的
页面时,我得到了以下错误: 我使用以下代码来检查表是否包含正确
的
数据: await page.evaluate(async () => { .querySelector(`td:nth-child(${child})`) .
innerText
// ====> if a value is '
null
浏览 30
提问于2019-06-22
得票数 0
回答已采纳
1
回答
未捕获
TypeError
:
无法
读取
null
的
属性
“”
innerText
“”
javascript
let demo = document.getElementById("#demo");<!
浏览 0
提问于2019-06-04
得票数 1
回答已采纳
1
回答
如果没有选择器(木偶索引)
javascript
、
node.js
、
puppeteer
当选择器不可用时,我将得到以下错误:if (page.evaluate(() => document.querySelector('#primaryStatus').
innerText
==
浏览 2
提问于2019-11-07
得票数 0
3
回答
TypeError
:
无法
设置
null
的
属性
“
innertext
”
javascript
、
html
当前,当按下按钮时,我会得到以下错误: constructorchooseOperation(operation) {} updateDisplay() { this.currentOperandTextElement.
innerText
numberButton
浏览 2
提问于2020-01-27
得票数 0
1
回答
节点JS错误:评估失败:
TypeError
:
无法
读取
null
属性
(
读取
'
innerText
')
javascript
、
node.js
、
puppeteer
我正在努力学习木偶师,我想在StockX上刮
的
网页。我试着使用Google开发工具
的
C
浏览 4
提问于2022-07-18
得票数 0
1
回答
节点JS :错误:评估失败:
TypeError
:
无法
读取
null
属性
(
读取
'
innerText
')
javascript
、
node.js
、
puppeteer
我
的
代码工作正常,错误:错误:评估失败:
TypeError
:
无法
读取
null
的
属性
(
读取
'
innerText
')返回。我不明白为什么。我试图获取标记中包含
的
文本,并将其发送到JSON文档中,这是我
的
代码: url: 'https://stockx.com/fr-fr/dio
浏览 5
提问于2022-07-21
得票数 0
2
回答
React:
无法
读取
null
的
属性
“”
innerText
“”
reactjs
、
dom
我正在尝试创建格式化输入文本
的
能力,然而,应用程序崩溃了,我收到了两个错误。每当我尝试输入任何一个表单域时,我都会收到这个错误:Cannot read property '
innerText
' of
null
,而当我点击format按钮时,我得到了这个错误Cannot readproperty 'innerHTML' of
null
。我使用
的
是React.js。如何解决这些错误? const lastUnd
浏览 0
提问于2020-11-09
得票数 0
1
回答
使用page.evaluate:
TypeError
:
无法
读取
null
属性
'
innerText
‘时出错
javascript
、
node.js
、
dom
、
web-scraping
、
puppeteer
,我是木偶师
的
新手,我试图从这个页面上
的
一个表:中抓取数据。下面是DOM中表
的
屏幕截图:我使用
的
代码如下: .
innerText
浏览 3
提问于2020-05-19
得票数 0
回答已采纳
2
回答
TypeError
:
无法
读取
null
的
属性
“”
TypeError
“”:
无法
读取
null
的
属性
“”title“”
angular
、
typescript
解码令牌后,我
无法
获得标题和姓氏以在登录时显示它。它给了我错误"cannot read property title of
null
“。任何在这里输入代码的人都可以在这方面帮助我。console.log(decodedToken); } return
null
浏览 9
提问于2019-09-30
得票数 0
回答已采纳
1
回答
Javascript
无法
读取
null
- puppeteer
的
属性
“”
innerText
“”
javascript
、
node.js
、
puppeteer
在使用这个函数时,有时会遇到这个错误:我
的
函数工作了2/3次,但我想纠正它。我正在使用puppeteer导航并检查我
的
代理是否正常工作。
无法
设置
null
的
属性
“”
innerText
“” 请告诉我如何修复它。 这是我
的
代码。div = document.querySelector('body > pre'); jsonObject = JSON.parse(d
浏览 26
提问于2019-12-15
得票数 1
回答已采纳
3
回答
未捕获
的
Typeerror
无法
读取
属性
php
、
html
它一开始是工作
的
,但现在当我把它移到我们已有的服务器上时,我得到了一个错误。我一直在使用html和php。下面是错误“(索引):26未捕获
的
TypeError
:
无法
在saveTable ((索引):26)在HTMLButtonElement.onclick ((索引):21)
读取
null
的
'
innerText
‘
属性
”,这是来自google chrome
的
。("Fastighet").<e
浏览 15
提问于2018-03-04
得票数 0
1
回答
未定义
的
TypeError
:
无法
读取
未定义
的
属性
(
读取
“删除”)
javascript
、
typeerror
我
的
代码有什么问题?未定义
TypeError
:
无法
读取
未定义
属性
(
读取
“删除”) 未定义
的
TypeError
:
无法
读取
未定义
的
属性
(
读取
'add') document.querySelector("#elastic= "") { elasticItem.forEach(function
浏览 3
提问于2022-01-15
得票数 3
回答已采纳
1
回答
HeadlessChrome Karma测试-
无法
读取
属性
'
innerText
‘
的
null
angular
、
karma-jasmine
我对下面组件
的
测试一直失败,错误消息如下: Failed: Cannot read property '
innerText
' of
null
不过,它通过了shouldinject([Store], (testStore: TestStore<State>) =>
浏览 2
提问于2020-03-29
得票数 0
回答已采纳
1
回答
傀儡: page.evaluate抛出
TypeError
:
无法
读取
null
的
innerText
javascript
、
node.js
、
puppeteer
我正在学习木偶戏,并想在https://www.tapology.com/regions上抓取这个综合木偶剧
的
网页。尝试使用Google开发工具中
的
精确CSS选择器,但没有成功。尝试了各种组合
的
CSS选择,但我仍然不能刮
的
h4
的
文本。await page.evaluate((sel)=>{ //trying to grab 'MIDWEST' return document.querySelector(se
浏览 27
提问于2019-06-06
得票数 2
回答已采纳
2
回答
如果更改语句
的
顺序,为什么代码不起作用?
javascript
、
html
、
function
、
scope
、
addeventlistener
) } else if (event.target.matches('.fa-thumbs-down')) { tr.remove()}) 目前,这个函数可以工
浏览 4
提问于2020-03-03
得票数 0
回答已采纳
1
回答
错误
TypeError
:
无法
读取
null
的
属性
'querySelectorAll‘,错误
TypeError
:
无法
读取
null
的
属性
'getElementsByTagName’
angular
、
angular10
to download }; 我正在尝试打印csv和xml
的
按钮点击,但它给了我以上
的
错误,我不知道为什么它告诉我喜欢this.can有人帮助我做这个 我使用
的
是angular 9 "ngx-export-as":"^1.5.0",
浏览 17
提问于2021-01-29
得票数 0
1
回答
获取错误:评估失败:当返回多个值时,
TypeError
:
无法
读取
null
属性
(
读取
'
innerText
')
javascript
、
puppeteer
我需要返回从站点获得
的
多个值,但由于某种原因,每次只能返回一个值,每当我尝试返回多个值(如下面的代码中
的
值)时,我会得到以下错误:Error: Evaluation failed:
TypeError
:Cannot read properties of
null
(reading '
innerText
') when returning multiple values和我
无法
找到原因。document.querySelector(".table td.file
浏览 7
提问于2022-11-04
得票数 3
回答已采纳
2
回答
错误
TypeError
:
无法
读取
角子元素中未定义
的
属性
(
读取
“push”)
angular
、
typescript
我
的
子元素中有这个数组 { }<app-child [listAnswer]="listAnswer"></app-child> ERROR
TypeError
:
无法
浏览 10
提问于2022-07-04
得票数 0
回答已采纳
1
回答
添加两个数字,其中每个数字是在一个链表中
的
反向顺序。
javascript
、
algorithm
、
data-structures
、
linked-list
我能够得到正确
的
数字,但不能返回
的
答案作为一个反向链接列表。有人能帮我找到代码中
的
错误并完成最后一步吗? this.val = val; this.next =
null
浏览 2
提问于2019-03-29
得票数 1
回答已采纳
1
回答
TypeError
:
无法
读取
null
属性
(
读取
“密码”)
node.js
、
mongodb
、
express
res.send('User yet created') }}) 在这个简单登录和注册系统
的
代码中,我采用了在密码输入中输入
的
内容,并以将其插入DB
的
方式使用它。node:events:368 ^
TypeError
: Cannot read propert
浏览 7
提问于2022-07-06
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
ES6 对象都新增了哪些属性
一文看懂PHP 8的新特性
PHP8还有半年就要来了,来看看有哪些新特性
PHP 8:类型系统改进
后端搞 Cocos 小游戏开发的三点避坑指北
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券