Not able to switch Frame in PhantomJS but switches successfully with Firefox using selenium python -
the following command runs firefox driver phantomjs facing error message:
driver.switch_to.frame(frame)
error message phantomjs:
errormessage":"unable switch frame"
has faced issue , can me here?
phantomjs/ghostdriver has issue has been resolved - https://github.com/detro/ghostdriver/issues/194
below statements work ghostdriver. there no difference in statements have used ghostdriver.
driver.switchto().frame(frame_index) driver.switchto().frame(frame_id) driver.switchto().frame(frame_object)
put wait until iframe located
wait.until(expectedconditions.presenceofelementlocated("identifier of frame"))
make sure iframe displayed in page source.
Comments
Post a Comment