Bug 1319237 - Fix calls to session.find; r=maja_zf
☠☠ backed out by 4f4dcc23d36b ☠ ☠
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 03 Feb 2017 16:32:16 +0000
changeset 341020 c85849b790c53624b644348e494649e6d17e9a47
parent 341019 9746878e5fc7ef0760833ce65fedb307147208ca
child 341021 e2d388263c3d3fe7b75c322e9279d8e502b3d2d4
push id86615
push userkwierso@gmail.com
push dateTue, 07 Feb 2017 01:52:08 +0000
treeherdermozilla-inbound@f0453084d86e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf
bugs1319237
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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