Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

not capturing typing on input or clicks on search buttons #54

@mike-duran-mitchell

Description

@mike-duran-mitchell

Able to replicate this issue on both:
System: Ubuntu 16.04, Chrome Version 65.0.3325.146 (Official Build) (64-bit)
System: Windows 10, Version 64.0.3282.186 (Official Build) (64-bit)

Example 1: Google. Navigate to google, click on input, add text, search. Daydream is only returning

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

nightmare
.goto('https://www.google.com/')
.end()
.then(function (result) {
  console.log(result)
})
.catch(function (error) {
  console.error('Error:', error);
});

and

const puppeteer = require('puppeteer')

(async () => {
  const browser = await puppeteer.launch()
  const page = await browser.newPage()
  await page.goto('https://www.google.com/')
  await browser.close()
})()

Example 2: Github. Navigate to github daydream repository, click on search input for this repository, add text, search. Daydream is only returning:

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

nightmare
.goto('https://github.com/segmentio/daydream')
.end()
.then(function (result) {
  console.log(result)
})
.catch(function (error) {
  console.error('Error:', error);
});

and

const puppeteer = require('puppeteer')

(async () => {
  const browser = await puppeteer.launch()
  const page = await browser.newPage()
  await page.goto('https://github.com/segmentio/daydream')
  await browser.close()
})()

Tried the same on Wikipedia and Wiktionary with the same results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions