Skip to content

Instantly share code, notes, and snippets.

Stephen MacLennan StMacLennan

  • South Africa
Block or report user

Report or block StMacLennan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@StMacLennan
StMacLennan / Google Sheets Script
Last active May 18, 2018
These are the two lines of code that you need to access Google Sheets data within the script section
View Google Sheets Script
var sheet = SpreadsheetApp.getActiveSheet();
var data = sheet.getDataRange().getValues();
View 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')
You can’t perform that action at this time.