Until recent releases of chromedriver it was possible to get the current URL of selected frame
At the moment the method there is no way to getCurrentURL of the frame but only on the main window.
This is expected behaviour. If you require that frames url use executeScript('return document.location.href');
Most helpful comment
This is expected behaviour. If you require that frames url use
executeScript('return document.location.href');