Difference between revisions of "Lapis Lazuli:Missing documentation"
Line 16: | Line 16: | ||
- How to select an element from a drop down menu | - How to select an element from a drop down menu | ||
+ | |||
+ | - How to interact with an element (click, hover, flash, etc) | ||
- How to debug using IRB | - How to debug using IRB | ||
Line 23: | Line 25: | ||
include LapisLazuli | include LapisLazuli | ||
browser :chrome | browser :chrome | ||
− | browser.goto ' | + | browser.goto 'asus.com' |
</source> | </source> |
Latest revision as of 11:38, 15 February 2017
This page will contain links and or idea's that should still be documented for lapis lazuli.
- using a single find statement to look for either selector A or selector B
browser.multi_wait( {:like => [:a, :text, arg1]}, {:like => [:a, :text, arg2]} )
- Using a single statement to find an element that both contains attributeA valueA AND attributeB valueB
browser.find( :input => {:class => "gsfi", :id=> "lst-ib"} ).flash
- How to select an element from a drop down menu
- How to interact with an element (click, hover, flash, etc)
- How to debug using IRB
irb require 'lapis_lazuli' include LapisLazuli browser :chrome browser.goto 'asus.com'