I have an in the the page that I need to test with Cucumber and Capybara, the iframe does not have a class or id attribute but it's the only iframe on the DOM. How can I use the within_frame
capybara method?
相关问题
- Question marks after images and js/css files in ra
- Using :remote => true with hover event
- how to get selected text from iframe with javascri
- Eager-loading association count with Arel (Rails 3
- Is there a way to remove IDV Tags from an AIFF fil
相关文章
- iframe的里内容看不到,但却点得到
- Right way to deploy Rails + Puma + Postgres app to
- AWS S3 in rails - how to set the s3_signature_vers
- how to call a active record named scope with a str
- How do you run cucumber with Scala 2.11 and sbt 0.
- How to add a JSON column in MySQL with Rails 5 Mig
- “No explicit conversion of Symbol into String” for
- form_for wrong number of arguments in rails 4
If you're using a recent version of Capybara the locator argument to
within_frame
is optional if there's only one iframe on the pageuse
find
to get the element and pass it to thewithin_frame
method.