Getting top-level browsing context’s title from nested browsing context if frame is changed with target=_top does not work
Categories
(Remote Protocol :: Marionette, defect, P2)
Tracking
(Not tracked)
People
(Reporter: titus.fortner, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: pi-marionette-server)
Updated•9 years ago
|
Updated•9 years ago
|
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Updated•7 years ago
|
Comment 8•6 years ago
|
||
(In reply to Andreas Tolfsen ⦗:ato⦘ from comment #4)
I filed https://github.com/w3c/webdriver/issues/871 on WebDriver, which
probably means we need to inspect the _target attribute of the link we’re
clicking to know what to do. If the target is _top, we should look at the
top frame’s/top-level browsing context’s document.readyState; in the case of
_blank we should look at the new tab, and so on.
That issue has been closed a while ago with the following update of the spec:
https://github.com/w3c/webdriver/pull/932/files
It means that accessing the title of the top-level browsing context requires a context change by the user. Automatically switching the browsing context will not be done.
Titus, not sure if you still have this testcase around. If yes, does switching to the top frame first fix your problem?
Comment 9•5 years ago
|
||
With bug 1493108 fixed at some point a proper error message will be thrown.
Updated•2 years ago
|
Description
•