Simulate Actions Using a Headless Browser in:title

Help,
I can’t resolve this project:

const Browser = require(‘zombie’);
const browser = new Browser();

suiteSetup(function(done) {
return browser.visit(’/’, done);
});
suite(‘Functional Tests with Zombie.js’, function () {
this.timeout(5000);

suite(‘Headless browser’, function () {
test(‘should have a working “site” property’, function() {
assert.isNotNull(browser.site,‘https://boilerplate-mochachai-1.kaisman75.repl.co’);
});
});

suite(’“Famous Italian Explorers” form’, function () {
// #5
test(‘Submit the surname “Colombo” in the HTML form’, function (done) {

  done();
});
// #6
test('Submit the surname "Vespucci" in the HTML form', function (done) {
  assert.fail();

  done();
});

});
});

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: Simulate Actions Using a Headless Browser

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.