我尝试在R的webshot()中使用casperJS登录,但我的代码无法工作。下面我做错了什么吗?
library(webshot)
webshot('https://suite.searchmetrics.com/en/auth/login', zoom = 1.3,
eval = "
this.wait(5000);
var url = 'https://suite.searchmetrics.com/en/auth/login';
casper.start(url, function() {
console.log('page loaded');
this.fill('form#loginForm', {
mail: 'my_email',
password: 'my_password'
}, true);
});")发布于 2017-08-05 05:33:22
这实际上是webshot()包中的一个问题。未执行'eval‘参数。我在软件包repo上创建了一个问题,现在应该可以修复了。
https://stackoverflow.com/questions/45470069
复制相似问题