Skip to content

getCurrentURL of current frame not return the URL of the frame #1727

@gssatcc

Description

@gssatcc

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 -

  1. Go to URL with some iframe
  2. Select the iframe
  3. Use method like:
    currentUrl() {
    return browser.driver.getCurrentUrl();
    }
    to get current URL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions