Expected Behavior -
Until recent releases of chromedriver it was possible to get the current URL of selected frame
Actual Behavior -
At the moment the method there is no way to getCurrentURL of the frame but only on the main window.
Steps to reproduce -
- Go to URL with some iframe
- Select the iframe
- Use method like:
currentUrl() {
return browser.driver.getCurrentUrl();
}
to get current URL