Ways to deal with #document under iframe

To work with elements inside iframe you must switch to this specific iframe.

Your solution .switchTo().frame("FRAMENAME"); is correct. Selenium does not have any other ways to work with iframe wrappers.

Leave a Comment