-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Description
Feature and motivation
We are facing an issue automating a third-party application, draw.io, embedded in our product. The issue arises when trying to detect and interact with elements inside the draw.io canvas using Selenium and Chrome DevTools.
Usage example
Problem Details:
The draw.io application is embedded within our web product.
While the DOM entry is present, Chrome DevTools does not detect the elements, making it impossible to inspect them.
As a result, Selenium cannot interact with the elements through conventional locators (ID, XPath, CSS selectors, etc.).
Steps to Reproduce:
Open a web page that embeds the draw.io editor.
Try inspecting elements within the draw.io canvas using Chrome DevTools (F12).
Observe that the elements are not detected, despite the presence of a DOM entry.
Attempt to automate actions (such as selecting a shape) using Selenium WebDriver.
Observe that the element interactions fail.
Expected Behavior:
Chrome DevTools should be able to detect and inspect the draw.io elements.
Selenium should be able to interact with draw.io elements using conventional DOM-based selectors.
Actual Behavior:
Chrome DevTools does not highlight or detect elements inside the draw.io canvas.
Selenium fails to interact with elements, despite their apparent presence in the DOM.