<commit_before>module Reddit
 module Bot
  
  class Actions

   def initialize(objects)
    @objects = objects
   end

    def goto_site
     $browser.navigate.to ENV['MAIN_URL']
    end

    def enter_username(username)
     @objects.username.send_keys(username)
    end

    def enter_password(password)
     @objects.password.send_keys(password)
    end

    def submit_login
     @objects.login_btn.click
    end     

    def logged_in?
      @objects.wait.until {!!(@objects.user_link.text.match $bot['name'])}
    end 

    def stories
      @objects.stories
    	
    end


  end 
 
 end
end<commit_msg>objects module<commit_after>module Reddit
 module Bot
  
  class Actions

		Objects = Reddit::Page::Objects		
		
    def goto_site
      $browser.navigate.to Objects::SITE_URL 
    end

    def enter_username(username)
      Objects.username.send_keys(username)
    end

    def enter_password(password)
      Objects.password.send_keys(password)
    end

    def submit_login
      Objects.login_btn.click
    end     

    def logged_in?
      Objects.wait.until {!!(Objects.user_link.text.match $bot['name'])}
    end 

    def upvote_story 
      Objects.stories
    end


  end 
 
 end
end
{'fraction_non_alphanumeric': 0.08049792531120332, 'fraction_numerical': 0.0, 'mean_word_length': 2.4358974358974357, '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': '3286738', 'n_tokens_mistral': 410, 'n_tokens_neox': 372, 'n_words': 79}