Comments (18)
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:
- Start Daydream recording.
- Refresh the page or go to a new page using the same window/tab.
- Use as per normal.
from daydream.
@ChristosChristofidis solved by deleting the plugin
from daydream.
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.
Just tried it out in the latest chrome and no action ever gets captured
from daydream.
Did you solve this?
from daydream.
from daydream.
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.
For me, it depends on the site. For example it works on github.com but not www.bbc.co.uk/news.
from daydream.
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.
from daydream.
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.
Same issue, nothing gets captured besides typing.
from daydream.
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.
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.
Could be two things:
- Clicks are only currently registered on button and inputs. Maybe you have onClick on divs?
goto
takes a while to get registered -- seems like the page has to completely settle before it registers agoto
.
And yeah, they're both pretty simple fixes. We just need someone to approve and merge PRs. :)
from daydream.
Good ideas, both. My testing was quick & dirty so I’ll spend a bit more time when I’ve got it.
from daydream.
Looks kinda unmaintained? Time to fork and get some fixes in motion https://github.com/interbiznw/daydream
from daydream.
Any news?
from daydream.
Related Issues (20)
- error : TypeError: Path must be a string. Received undefined HOT 1
- Record mousemove and scrolling events? HOT 1
- Unable to record more than one action each time HOT 8
- why can't i see the code being gnereated inside the day dream icon while its working ? HOT 1
- Analytics.js
- Content script execution problem?
- Can I run daydream in electron app?
- add puppeteer support
- Cannot record login at cibc.com
- Add puppeteer inside the Chrome extension details
- not capturing typing on input or clicks on search buttons HOT 1
- Background page access errors
- ASI hazard in puppeteer output?
- Support for additional input types. HOT 3
- I'm building a follow up to Daydream specifically for Puppeteer HOT 2
- Does not track events anymore HOT 1
- How to use your extension?
- Google Chrome Download link is broken HOT 7
- the extension is broken on the browser HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daydream.