debugging and selenium wrangling