Can you add a iFrame example?
djangofan opened this issue · 5 comments
Can you add a iFrame example?
I have a frames example, will that suffice?
http://the-internet.herokuapp.com/frames
Otherwise, I can add it eventually. Or, pull requests welcome.
Cheers,
Dave H
I forgot that I have a TinyMCE example (which uses an iFrame) here.
I see what you mean. If I were to try to automate that though, because the TinyMCE widget does not have an option to insert raw text (like some other similar widgets do have) it complicates things. It doesn't make it easy for someone to write a Selenium test on that particular iFrame. Just try to insert some text into that widget within a paragraph tag. Then, try to add more text further on the page and you will see what I mean.
If you have a different use case in mind I'll gladly accept a pull request.
You can see the approach I take to testing TinyMCE in an iframe with Selenium here (under the section heading 'Another Example').
I love the example you provided... a really nice blog article.
Ok, I will try to do a pull request for you (this morning) relating to iFrames. Not sure how successful I will be though since I don't know the technology you are using to generate the pages. If you don't see a pull request, it is probably because I didn't figure it out.