我知道我可以使用waitForSelector来测试某个特定元素是否准备就绪,但JavaScript呢? this.waitForSelector('#someid', function _then() {
// do something that requires js to be fully loaded and functional
// before clicking
我在我的桌面上编写的代码在Windows 10下运行,一切正常。当我转移到Centos Server时,我开始出现错误。请帮助我 CasperError: Cannot get informations from input[name="email"]: element not found.
/home/casper/casperjs/phantomjs:/platform/casper