<commit_before>def webdriverDebugMessage(driver, message="Webdriver could not achieve expected results")
  return "Debug Informaton\nCurrent Page: "+driver.title+"\nCurrent URL : "+driver.current_url+"\n\n"+message
end

Given /^I have an open web browser$/ do
  @driver = Selenium::WebDriver.for :firefox
end

After do |scenario| 
  #puts "Running the After hook for Scenario: #{scenario}"
  @driver.quit if @driver
end<commit_msg>Added ability to step debug Selenium acceptance tests locally<commit_after>def webdriverDebugMessage(driver, message="Webdriver could not achieve expected results")
  return "Debug Informaton\nCurrent Page: "+driver.title+"\nCurrent URL : "+driver.current_url+"\n\n"+message
end

Given /^I have an open web browser$/ do
  @driver = Selenium::WebDriver.for :firefox
end

After do |scenario| 
  #puts "Running the After hook for Scenario: #{scenario}"
  @driver.quit if @driver
end

AfterStep('@pause') do
  # Debug function only:
  # To enable, tag your feature/scenario/step with @pause and hit enter to step through the selenium test
  print "Press Return to continue..." 
  STDIN.getc  
end 

{'fraction_non_alphanumeric': 0.10488888888888889, 'fraction_numerical': 0.0, 'mean_word_length': 4.957671957671957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6964594', 'n_tokens_mistral': 350, 'n_tokens_neox': 333, 'n_words': 121}