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 479410 736ca9a4e8fa14de240c16d55d0e00049708aa4c
parent 479409 d8bdb399638a45c8358ab42704daf1afe6b6f8ad
child 544674 24da9d90ca9529aaaa4c3493c4bfd83d55d493ee
push id44243
push userbmo:ato@mozilla.com
push dateMon, 06 Feb 2017 16:11:43 +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