3wweiweiwu / recordwright-healing

MIT License
0 stars 1 forks source link

As a developer, I want PUG converter to use original element id as value for automationId attribute so that we can keep this attribute #4

Closed 3wweiweiwu closed 1 year ago

3wweiweiwu commented 1 year ago

HTML Node:

[
    [
        {
            "element": {},
            "children": [
                1,
                2
            ],
            "id": 0,
            "rect": null,
            "text": null,
            "nodeName": "div",
            "attributes": {"id":"test"},
            "isTarget": false
        }
    ]
]

PUG Output: div#0(automationid=test)

Daniel-V-aspen commented 1 year ago

added in the merge #15