These are chat archives for rosshinkley/nightmare

2nd
Sep 2017
Matt Jarrett
@matt-jarrett
Sep 02 2017 01:06

Hi!

When I try to this simple code to open Adidas site it hangs at an empty Electron window. Other sites seem to work fine. Any tips?

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

nightmare
  .goto("http://www.adidas.com/us")
  .end()
  .then((result) => {
    console.log(result)
  })
  .catch((error) => {
    console.error("Search failed:", error)
  })