playwright icon indicating copy to clipboard operation
playwright copied to clipboard

While recording Playwright is not able to identify & capture " Embed " frame locator element in UI of system under test & gives error that it is looking for "iframe" type of frame locator instead

Open abhiam1 opened this issue 1 year ago • 2 comments

System info

  • Playwright Version: 1.40.1
  • Operating System: Windows 10 Enterprise LTSC Evaluation ,Version: 21H2 , OS build: 19044.3930 , 64 Bit OS
  • Browser: Chromium browser : 120.0.6099.28

Description

While recording Playwright is not able to identify & capture " Embed " locator element in UI of system under test & gives error that it is looking for "iframe" type of locator instead

Embed locator error_playwright1

Attached , snapshot of the error while recording a script in Playwright

Expected

While recording Playwright should be able to capture the " Embed " locator element without any error .

Actual

While recording Playwright is not able to identify & capture " Embed " locator element in UI of system under test & gives error that it is looking for "iframe" type of locator instead

abhiam1 avatar Jan 10 '24 07:01 abhiam1

@abhiam1 Playwright does not work with <embed> elements today.

dgozman avatar Jan 10 '24 16:01 dgozman

@abhiam1 Playwright does not work with <embed> elements today.

Hello , is there a workaround for this issue . Also when will Playwright support working with <embed> elements , can you please let me know . Thanks & Best Regards . Abhijit

abhiam1 avatar Jan 12 '24 04:01 abhiam1