-
Notifications
You must be signed in to change notification settings - Fork 713
Can only record once after installation, not again #4
Comments
My repro steps:
After the last step, extension provides me with a pptr snippet: const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch()
const page = await browser.newPage()
await page.click('input')
await browser.close()
})() There are no errors in the console; here's what I get: |
@aslushnikov really weird. I have no issues recording multiple sessions on pptr.dev I will try some more to reproduce this and add some extra debug statements. |
The best way to triage this would be to write a test. I have the installation of the extension working in a test, I'm just looking for pointers on how to activate it. Any tips from your side @aslushnikov on how to get that working? Some custom CDP calls I can do? |
@tnolet I wonder if it has something to do with the corporate nature of our machines. I'll try it on my personal one tomorrow. |
@tnolet you can connect to background page since recently: Working with Chrome Extensions. Is this enough? |
@aslushnikov O jeez, totally missed that! That should work, or I think I can make it work. You guys are going to fast with Puppeteer 😮 |
@aslushnikov I refactored the content script injection and cleanup routines a bit. There was some stinky logic regarding adding and removing event handlers. I think I solved it quite simply now. See 5ff27cb I hope in the new update (probably ship tomorrow) you will no longer have the reported issues. |
@aslushnikov could you try version 02.1. It's the current one on the Web Store. Although I couldn't 100% reproduce, it is smarter about restarting recordings. |
same problem, hope for resloved in nexe version |
(@aslushnikov provided this video https://www.youtube.com/watch?v=9bzDU56iyJQ&feature=youtu.be outside of this thread )
This is pretty specific for how pptr.dev loads and how the |
@tnolet Interestingly, i think this no longer happens with 0.3.0!
This unfortunately didn't work for me - here's another video, this time with google search. I hit "tab" when going from search box to "submit" button: https://www.youtube.com/watch?v=gSf7s0NwFdg&feature=youtu.be |
@aslushnikov Ok, I will close this issue and port over the other issues. Thanks for helping out! |
Some report that they can only record one script after installation of the extension and not anymore. I can not reproduce (tried on a fresh Chrome installation + extension installation). Anyone suffering from this, please set logging in the console to "verbose" and report in this issue.
The text was updated successfully, but these errors were encountered: