Skip to content

Instantly share code, notes, and snippets.

@adidoit
adidoit / gist:6439376
Created September 4, 2013 16:22
BICMD quick upgrade script
# This program takes a project.xml in the current directory
# and upgrades the file by increasing the version number of all
# checked out maps
require 'nokogiri'
puts "\r\n\r\n+++++++++++++++++++++++++++++++++++++++++"
puts "working in " + Dir.getwd.to_s
file_xml = File.open('project.xml')

Capybara

save_and_open_page

Matchers

have_button(locator)