Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nblixt
nblixt / Capybara.md
Created December 15, 2023 13:03 — forked from tomas-stefano/Capybara.md
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
@nblixt
nblixt / clinical_trial_scrape.py
Created May 7, 2019 17:15
Clinical_Trial_Scrape
import os
import numpy as np
import pandas as pd
import bs4 as bs
def clinical_trial_xml_reader(file):
"""Uses BeautifulSoup to open and parse an xml file from a clinical trial.
Returns the html/xml text.