This worked for me in chrome, but it doesn't work in FF.
document.querySelector('#wonderful div:nth-child(2):nth-child(2)')
The following snapshot works in both browsers, but I suppose you know that already
document.querySelector('#wonderful div:nth-child(2) div.blue')
So for me it looks like a failure to implement chrome.
source share