-
Notifications
You must be signed in to change notification settings - Fork 784
Closed
Milestone
Description
The key word 'select frame' can't recoginze iframes which are dynamic genrerated by Ajax.
I tried selenium2 python binding it works fine.
so I checked source code (_browsermanagement.py) and made some change,then, It worked.
I wonder the function of the two lines ( I can't find the realizition of _element_find.)
#element = self._element_find(locator, True, True, tag='frame')
#self._current_browser().switch_to_frame(element)
def select_frame(self, locator):
"""Sets frame identified by `locator` as current frame.
Key attributes for frames are `id` and `name.` See `introduction` for
details about locating elements.
"""
self._info("Selecting frame '%s'." % locator)
#element = self._element_find(locator, True, True, tag='frame')
#self._current_browser().switch_to_frame(element)
self._current_browser().switch_to_frame(locator)
Metadata
Metadata
Assignees
Labels
No labels