checkly / headless-recorder

Chrome extension that records your browser interactions and generates a Playwright or Puppeteer script.
https://checklyhq.com/headless-recorder
MIT License
15.03k stars 722 forks source link

Can't record action in iframe webpage #142

Closed bryanzhou closed 1 year ago

bryanzhou commented 3 years ago

Env

Release 1.0.0-beta.4 8b6eff5

Q1

Recorder shows duplicate code ,like this:

  await page.waitForSelector('.ibox-content > .clients-list > .nav > li:nth-child(3) > a')
  await page.click('.ibox-content > .clients-list > .nav > li:nth-child(3) > a')

  await page.waitForSelector('.ibox-content > .clients-list > .nav > li:nth-child(3) > a')
  await page.click('.ibox-content > .clients-list > .nav > li:nth-child(3) > a')

  await page.waitForSelector('#tauth_submit')
  await page.click('#tauth_submit')

  await page.waitForSelector('#tauth_submit')
  await page.click('#tauth_submit')

Q2

I can't record action in iframe webpage,but I'm not sure weather it's a bug or my mistake in operation.

ianaya89 commented 3 years ago

@bryanzhou thanks for reporting. Do you have more information to reproduce this? The website you are using or whatever information will help.

Will take a look.

bryanzhou commented 3 years ago

@bryanzhou thanks for reporting. Do you have more information to reproduce this? The website you are using or whatever information will help.

Will take a look.

Thanks for your reply. I tried to update chrome and build extension on master branch today, and Q1 is sloved. The website of Q2 is on Weibo.com , link .it's a console board ,needs registion and identity authentication, so I toke a screenshot and attached below image

ianaya89 commented 3 years ago

@bryanzhou right now I made a technical choice of disabling iframe recording. The reason is related to the new overlay control bar added to the recorder. I am looking for a workaround and alternatives to allow iframe again. Will keep you updated!

bryanzhou commented 3 years ago

Got it!Thanks a lot!

ianaya89 commented 1 year ago

https://github.com/checkly/headless-recorder/issues/232