Difference between revisions of "Lapis Lazuli:Missing documentation"

From Test Automation Wiki
Jump to: navigation, search
(Created page with "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 brows...")
 
Line 2: Line 2:
  
 
- using a single find statement to look for either selector A or selector B
 
- using a single find statement to look for either selector A or selector B
 +
<source>
 
browser.multi_wait(
 
browser.multi_wait(
 
   {:like => [:a, :text, arg1]},
 
   {:like => [:a, :text, arg1]},
 
   {:like => [:a, :text, arg2]}
 
   {:like => [:a, :text, arg2]}
 
)
 
)
 
+
</source>
 
- How to select an element from a drop down menu
 
- How to select an element from a drop down menu
  
 
- How to debug using IRB
 
- How to debug using IRB
 +
<source>
 
irb
 
irb
 
require 'lapis_lazuli'
 
require 'lapis_lazuli'
Line 15: Line 17:
 
browser :chrome
 
browser :chrome
 
browser.goto 'anus.com'
 
browser.goto 'anus.com'
 +
</source>

Revision as of 16:58, 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]}
)

- 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'