Skip to content

Lapis Lazuli

It is the name of a gem stone. But it is also the name of a Ruby gem used for website test automation. Created by spriteCloud, but open sourced so use it if needed.


It is a Ruby gem so gem install lapis_lazuli This will install a bunch of dependancys (you'll see). gem list cucumber, selenium-webdriver, watir.


Create cucumber framework in seconds

lapis_lazuli create projectname

Structure explained

Run cucumber

command prompt to project folder cucumber

Basic commands

require 'lapis_lazuli' include LapisLazuli browser :chrome browser.goto browser.wait(div(text: '') browser.quit

Adjust your first test

Adjust x,