We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb5938 commit 307874cCopy full SHA for 307874c
py/test/selenium/webdriver/common/frame_switching_tests.py
@@ -139,7 +139,7 @@ def testShouldEnsureElementIsAFrameBeforeSwitching(self):
139
140
try:
141
self.driver.switch_to.frame(frame)
142
- self.fail("Should have thrown NoSuchElementException")
+ self.fail("Should have thrown NoSuchFrameException")
143
except NoSuchFrameException:
144
# Do nothing.
145
pass
@@ -160,7 +160,7 @@ def testFrameSearchesShouldBeRelativeToTheCurrentlySelectedFrame(self):
160
161
162
self.driver.switch_to.frame("second")
163
164
165
# Do nothing
166
0 commit comments