[wdspec] Add dedicated "switch_to_parent_frame" method to WebDriver Python client
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(firefox146 fixed)
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: whimboo, Assigned: khalid.alhaddad98, Mentored)
References
Details
(Whiteboard: [webdriver:m18][webdriver:external][lang=py][wptsync upstream])
User Story
To get started see: https://firefox-source-docs.mozilla.org/testing/geckodriver/index.html
Attachments
(1 file, 1 obsolete file)
Right now the switch_frame method of the WebDriver Python client has to be called with the frame argument set to parent. This is confusing if a page contains an element with the id parent.
def switch_frame(self, frame):
if frame == "parent":
url = "frame/parent"
body = None
else:
url = "frame"
body = {"id": frame}
return self.send_session_command("POST", url, body)
As such it would be good to have a dedicated switch_parent_frame method available. The addition would require checks for all the tests under the following folders to make use that they make use of the new API:
https://searchfox.org/mozilla-central/source/testing/web-platform/mozilla/tests/webdriver/
https://searchfox.org/mozilla-central/source/testing/web-platform/tests/webdriver/tests/
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 5•1 month ago
|
||
| bugherder | ||
| Reporter | ||
Comment 6•1 month ago
|
||
(In reply to Web Platform Test Sync Bot [:wpt-sync] (Matrix: #interop:mozilla.org) from comment #4)
Created web-platform-tests PR
https://github.com/web-platform-tests/wpt/pull/55594 for changes under
testing/web-platform/tests
The upstream PR was manually merged.
| Reporter | ||
Updated•28 days ago
|
| Reporter | ||
Updated•27 days ago
|
Description
•