Bug 1319237 - Fix calls to session.find; r=maja_zf draft
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 03 Feb 2017 16:32:16 +0000
changeset 482822 4487cdac09746b308ef3870d833b9a50e8e622d6
parent 482821 ce58b47d6892ce9b0def5fb9d809e10491d19195
child 545514 5a0c480f0d2c62708b803cff915857ea82b9cb0d
push id45172
push userbmo:ato@mozilla.com
push dateMon, 13 Feb 2017 14:08:30 +0000
reviewersmaja_zf
bugs1319237
milestone54.0a1
Bug 1319237 - Fix calls to session.find; r=maja_zf MozReview-Commit-ID: 5afoA6aKgCV
testing/web-platform/tests/webdriver/navigation.py
--- a/testing/web-platform/tests/webdriver/navigation.py
+++ b/testing/web-platform/tests/webdriver/navigation.py
@@ -99,15 +99,15 @@ def test_get_current_url_nested_browsing
     session.switch_frame(frame)
     assert session.url == top_level_url
 
 
 def test_get_current_url_nested_browsing_contexts(session):
     session.url = two_frames_doc
     top_level_url = session.url
 
-    outer_frame = session.find("iframe", all=False)
+    outer_frame = session.find.css("iframe", all=False)
     session.switch_frame(outer_frame)
 
-    inner_frame = session.find("iframe", all=False)
+    inner_frame = session.find.css("iframe", all=False)
     session.switch_frame(frame)
 
     assert session.url == top_level_url