You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to properly sort results in finishRun, which does not have access to elements, we will need to know the relative order of each result to the frames on a page. We can do this by adding a nodeIndex property to DqElement. Since the virtual tree is constructed in order, it might be easiest to do this by keeping a simple counter and assigning the current value to the virtual node when it is created. That way nodes higher up the tree have a lower number, and we can sort results based on that.
The text was updated successfully, but these errors were encountered:
Required for #2936
In order to properly sort results in
finishRun
, which does not have access to elements, we will need to know the relative order of each result to the frames on a page. We can do this by adding a nodeIndex property to DqElement. Since the virtual tree is constructed in order, it might be easiest to do this by keeping a simple counter and assigning the current value to the virtual node when it is created. That way nodes higher up the tree have a lower number, and we can sort results based on that.The text was updated successfully, but these errors were encountered: