How to get URL of the page opened in the current frame?

According to http://www.w3.org/TR/webdriver/#get-current-url

"The Get Current Url command returns the URL of the current top-level
browsing context."

There are two issues with this definition:

1) It does not fit the current implementation where this operation returns
the URL of the current browser context (the selected frame)

Do we really want to change the semantics of this API?

2) There is no command to obtain the URL of the current browser context
(the selected frame).

What is the reasoning behind this change?

Regards,
--
Alexei Barantsev, Software-Testing.Ru
mailto: barancev@gmail.com
phone: +7 (916) 726-95-55
skype : barancev

Received on Sunday, 6 September 2015 15:41:10 UTC