Comments (2)
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:
- Step definitions for
"I switch to an iframe"
with variationsint index
String nameOrId
WebElement frameElement
- https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/WebElement.html#findElement-org.openqa.selenium.By-
- Step definition for
"I switch to the default content"
- an example complete with
README.md
, feature file and JNLP to execute- this is predicated on being able to find a publicly accessible page with iframe content to test
- update docs (may need assistance from @mcasperson - or he can update them if he brings this work in to his fork) to describe the new feature and any limitations
from iridiumapplicationtesting.
Pull request created
from iridiumapplicationtesting.
Related Issues (20)
- Extend Iridium to support API testing HOT 1
- Got an exception when set system property startInternalProxy to zap in jnlp file HOT 1
- getText() returns empty when using the step to verify the page contains certain text (BrowserStack Edge) HOT 4
- Chrome WebDriver does not shutdown correctly (Linux) HOT 1
- Unable to clear selects - Element must be user-editable in order to clear it. HOT 1
- Abadonware? HOT 6
- Update Published Maven Artifact HOT 2
- Update chrome webdriver
- Unable to take screenshots manually HOT 1
- Enhancement - Add steps to accept or dismiss alert HOT 1
- Enhancement - Add steps to simulate actions to sliders HOT 2
- Simple gradle example running a test HOT 2
- Firefox cert error HOT 2
- Add ability to take a screenshot on error HOT 1
- focus 'if it exists' throws exception when it doesn't exist HOT 1
- 'select option number alias "<value>" from drop down' doesn't accept an alias as the first value HOT 1
- Enhancement - Modify the string value of alias to be in LowerCase or Uppercase HOT 2
- Allow the ability to open links in a tab/window, then close tab/window HOT 1
- Load datasets from CSV files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iridiumapplicationtesting.