我正在尝试安装,libxml2
因为我知道这是依赖性lxml
.面对如下问题:
Could not find dependencies
Run Code Online (Sandbox Code Playgroud)
不知道怎么安装libxml2
?
我的python版本是3.5.2.
我想在 Jaws 读取时忽略按钮内的文本,我的代码是:
<span style="display:none;" id="text1">Hai</span>
<button aria-labelledby="text1"><span>firstbutton</span></button>
Run Code Online (Sandbox Code Playgroud)
但《大白鲨》读作“海”第一个按钮
提前致谢
这是我的Node Express代码,
(function () {
'use strict';
var fs = require('fs');
var cors = require('cors');
var bodyParser = require('body-parser');
var express = require('express'),
app = express(),
port = 8112;
app.use(cors());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());
app.listen(port);
app.route('/abc')
.post(abc);
function abc(req,res){
console.dir(req.body);
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
res.sendStatus(200);
}
})();
Run Code Online (Sandbox Code Playgroud)
但是我正在获取请求正文
{}
但是在Chrome的网络标签中,我可以看到请求有效负载。请注意,此POST调用之前会触发OPTIONS。
请求头
POST /abcHTTP/1.1主机:localhost:8112连接:
keep-alive内容长度:11语法:无缓存缓存控制:无缓存
源:http:// localhost:4200用户代理:Mozilla / 5.0(Windows NT 10.0; Win64的; 64)为AppleWebKit / 537.36(KHTML,例如Gecko)铬/ 66.0.3359.181 Safari浏览器/ 537.36
的X API-键:CExkxDlFC35ckfCGX6m61x76GxIYH2h2Iv8bX874
内容类型:文本/无格式;字符集= UTF-8
接受:/ Referer的: …