AutoGeneral / IridiumApplicationTesting

A&G Web Application Testing Suite
https://www.gitbook.com/book/autogeneral/iridiumapplicationtesting-gettingstartedguide/details
MIT License
20 stars 13 forks source link

Enhancement Request: Add steps to allow Webdriver to switch to frames/iframes #120

Closed dehanw closed 6 years ago

dehanw commented 6 years ago

Now, Iridium supports switching to new tab, new window and new alert. In some cases, have to handle the elements within iframes.

nesvand commented 6 years ago

Unfortunately we can't create click events for iframes that are cross-domain using a JS method alone, however the web drivers should be able to switchTo the frame

The step definition for TabAndWindow should be able to provide insight on an implementation.

Once the driver is switched to the iframe it should be possible to perform tasks as long as they're not javascript-assisted (ie. copying out values may not be possible, but entering them in as keystrokes should be - clicking elements targeted by a path should work, but sending click events by JS should not).

Requirements for this work should include:

mdjebaile commented 6 years ago

Pull request created