Skip to content

[πŸš€ Feature]: Unable to Detect draw.io Elements in Chromium using Chrome DevTools and Selenium.Β #15525

@sgewali

Description

@sgewali

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-enhancementSomething could be betterJ-issue-templateApplied to issues not following the template, or missing information.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions