Lapis Lazuli:Missing documentation

From Test Automation Wiki
Revision as of 10:38, 15 February 2017 by Markb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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'