D
D
Diaran72017-06-11 19:58:04
JavaScript
Diaran7, 2017-06-11 19:58:04

What's wrong with casperjs?

Tell me what's wrong! I need Casper to follow the link, take a screenshot, then follow the link on the site, or rather, go to the Site News section and take a screenshot there! Help who can

var casper = require("casper").create()
casper.start('http://блабла.ru', function() {
  this.capture('google.png', {
        top: 100,
        left: 100,
        width: 500,
        height: 400
    });
casper.then(function() {
    this.mouse.click("Новости сайта");

});
asper.run();

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Diaran7, 2017-06-21
@Diaran7

That no one knows!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question