Giter VIP home page Giter VIP logo

Comments (18)

MynockSpit avatar MynockSpit commented on June 22, 2024 2

Hey guys, figured out the issue. The script that registers "events" doesn't start until after you go to a new page or refresh. Until this can get fixed, this should work:

  1. Start Daydream recording.
  2. Refresh the page or go to a new page using the same window/tab.
  3. Use as per normal.

from daydream.

czechdave avatar czechdave commented on June 22, 2024 1

@ChristosChristofidis solved by deleting the plugin

from daydream.

zacharyabresch avatar zacharyabresch commented on June 22, 2024 1

Chiming in because I really want to use this plugin heavily, now, but it seems to be severely broken. Some environment details:

  • OS: Mac High Sierra - 10.13.4 (17E202)
  • Browser: Google Chrome Version 67.0.3396.62 (Official Build) (64-bit)

I've tried to use this on several sites (localhost projects, Github, Medium, Bugsnag) and I've only gotten it to record anything 2 times. Both were after restarting Chrome but now that isn't even working (on the same sites).

Is there anything else I can provide to assist in debugging this? Any workarounds to try? A fix in the pipeline?

from daydream.

czechdave avatar czechdave commented on June 22, 2024

Just tried it out in the latest chrome and no action ever gets captured

from daydream.

ChristosChristofidis avatar ChristosChristofidis commented on June 22, 2024

Did you solve this?

from daydream.

datajp1 avatar datajp1 commented on June 22, 2024

@ChristosChristofidis nope

from daydream.

ThomasDotCodes avatar ThomasDotCodes commented on June 22, 2024

Same issue here... I just installed the plugin for the first time on fresh install of chrome as well. Not sure if @czechdave is suggesting to delete and reinstall -- but that didn't have any effect.

from daydream.

danyalaytekin avatar danyalaytekin commented on June 22, 2024

For me, it depends on the site. For example it works on github.com but not www.bbc.co.uk/news.

from daydream.

zacharyabresch avatar zacharyabresch commented on June 22, 2024

Follow-up: The extension icon does highlight green when starting and turns black when stopping. I get the script pop-up but it contains the default, empty script. I can restart but no activity gets recorded.

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

nightmare

.end()
.then(function (result) {
  console.log(result)
})
.catch(function (error) {
  console.error('Error:', error);
});

from daydream.

EvsWorld avatar EvsWorld commented on June 22, 2024

from daydream.

rschwabco avatar rschwabco commented on June 22, 2024

I'm also interested in having this plugin work again. I'm seeing it throws some errors when not on github.com (was able to make it work there). Is this project being actively worked on? If so, can this issue be escalated? It seems to make the extension unusable currently.

from daydream.

CarlosDomingues avatar CarlosDomingues commented on June 22, 2024

Same issue, nothing gets captured besides typing.

from daydream.

zacharyabresch avatar zacharyabresch commented on June 22, 2024

WOW!!!! @MynockSpit you 🚀! I can confirm that this works. I tested it with a localhost domain, Github, & Google:

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

nightmare
.goto('https://github.com/')
.click('.my-3 > .Box-body > .list-style-none > :nth-child(1) > .width-full > .mb-2 > :nth-child(2)')
.click('.reponav > :nth-child(2) > .js-selected-navigation-item')
.end()
.then(function (result) {
  console.log(result)
})
.catch(function (error) {
  console.error('Error:', error);
});
const Nightmare = require('nightmare')
const nightmare = Nightmare({ show: true })

nightmare
.goto('https://www.google.com/')
.type('#lst-ib', 'Daydream extension')
.click(':nth-child(8) > :nth-child(1) > .rc > .r > a')
.goto('https://github.com/segmentio/daydream')
.end()
.then(function (result) {
  console.log(result)
})
.catch(function (error) {
  console.error('Error:', error);
});

This seems like it could be a pretty straightforward fix but I've never peeked at the Daydream source so I really have no idea what the LOE would be. Either way, this is awesome and I'm gonna go automate all the things now.

BTW, I wouldn't consider this issue "closed" but that's really up to the repo owners.

from daydream.

zacharyabresch avatar zacharyabresch commented on June 22, 2024

There are still some serious issues with this extension picking up actions while navigating pages. Especially SPAs ... I rarely get more than one or two clicks before the tracking bails out. Pretty disappointing but hey, at least it's working so it's a step forward.

from daydream.

MynockSpit avatar MynockSpit commented on June 22, 2024

Could be two things:

  1. Clicks are only currently registered on button and inputs. Maybe you have onClick on divs?
  2. goto takes a while to get registered -- seems like the page has to completely settle before it registers a goto.

And yeah, they're both pretty simple fixes. We just need someone to approve and merge PRs. :)

from daydream.

zacharyabresch avatar zacharyabresch commented on June 22, 2024

Good ideas, both. My testing was quick & dirty so I’ll spend a bit more time when I’ve got it.

from daydream.

interbiznw avatar interbiznw commented on June 22, 2024

Looks kinda unmaintained? Time to fork and get some fixes in motion https://github.com/interbiznw/daydream

from daydream.

lvl99 avatar lvl99 commented on June 22, 2024

Any news?

from daydream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.