▲ | nikisweeting 5 days ago | |||||||
whats the downside of using frameId/targetId+backendNodeId as the stable element ids? | ||||||||
▲ | hugs 5 days ago | parent [-] | |||||||
i'm at the edge of my chrome internals knowledge here, but i'd answer the question with a question: isn't backendnodeid only stable within a single session? that might not matter if the agent is re-finding the element between sessions anyway, but then you're paying a lookup cost (time + tokens) each time. compared to just using document.getelementbyid() on an explicit id. | ||||||||
|