Skip to content

cant run example DuckDuck,white screen inelectron #1624

Open
@nemeshine

Description

@nemeshine

hi,
i tried and learn nightmarejs, when i run the example duckduck the out put in electronjust white screen
can sombody helpme??
i hope i can learn or get some experience form here

version windows 10 64bit
"nightmare": "^3.0.2"

const Nightmare = require('nightmare');
const nightmare = Nightmare({show: true});

nightmare
  .goto('https://duckduckgo.com')
  .type('#search_form_input_homepage', 'github nightmare')
  .click('#search_button_homepage')
  .wait('#r1-0 a.result__a')
  .evaluate(() => document.querySelector('#r1-0 a.result__a').href)
  .end()
  .then(console.log)
  .catch(error => {
    console.error('Search failed:', error)
  })

Screenshot 2021-03-09 100904

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions