The easiest way to explain my problem is to provide a picture of what I am trying to retrieve:
I am trying to get the source node of data which path's is 'data.source.displayName' using selenium but I can not simply retrieve this information. I can retrieve information on the first layer of the HTML element such as 'textContent' but whenever I do id.getAttribute of an object it simply returns null. Some example code:
var data = identity.getAttribute('__data__.source.displayName');
data.then(function(classes){
console.log(classes);
}); /*this will print out null*/
var data = identity.getAttribute('textContent');
data.then(function(classes){
console.log(classes);
}); /* this prints out "node_15 → node_20" and works correctly*/