Skip to content

Commit 5ccb5e0

Browse files
committed
Update a comment
1 parent 2972209 commit 5ccb5e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,6 +1679,9 @@ def switch_to_frame(self, frame, timeout=None):
16791679
"""
16801680
Wait for an iframe to appear, and switch to it. This should be
16811681
usable as a drop-in replacement for driver.switch_to.frame().
1682+
The iframe identifier can be a selector, an index, an id, a name,
1683+
or a web element, but scrolling to the iframe first will only occur
1684+
for visible iframes with a string selector.
16821685
@Params
16831686
frame - the frame element, name, id, index, or selector
16841687
timeout - the time to wait for the alert in seconds

0 commit comments

Comments
 (0)