Skip to content

Instantly share code, notes, and snippets.

View StMacLennan's full-sized avatar

Stephen MacLennan StMacLennan

  • The SaaS JEDI
  • United Kingdon
  • 10:30 (UTC)
View GitHub Profile
@StMacLennan
StMacLennan / Google Sheets Script
Last active May 18, 2018 08:02
These are the two lines of code that you need to access Google Sheets data within the script section
var sheet = SpreadsheetApp.getActiveSheet();
var data = sheet.getDataRange().getValues();
@StMacLennan
StMacLennan / capybara cheat sheet
Created December 8, 2017 18:06 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')