Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant run example DuckDuck,white screen inelectron #1624

Open
nemeshine opened this issue Mar 9, 2021 · 0 comments
Open

cant run example DuckDuck,white screen inelectron #1624

nemeshine opened this issue Mar 9, 2021 · 0 comments

Comments

@nemeshine
Copy link

nemeshine commented Mar 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant