Difference between revisions of "Lapis Lazuli:Missing documentation"
Line 8: | Line 8: | ||
) | ) | ||
</source> | </source> | ||
+ | - Using a single statement to find an element that both contains attributeA valueA AND attributeB valueB | ||
+ | <source> | ||
+ | browser.multi_find( | ||
+ | :input => {:class => "gsfi", :id=> "lst-ib"} | ||
+ | ).flash | ||
+ | </source> | ||
+ | |||
- How to select an element from a drop down menu | - How to select an element from a drop down menu | ||
Revision as of 17:05, 16 November 2016
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.multi_find( :input => {:class => "gsfi", :id=> "lst-ib"} ).flash
- How to select an element from a drop down menu
- How to debug using IRB
irb require 'lapis_lazuli' include LapisLazuli browser :chrome browser.goto 'anus.com'