You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: runner.rb
    path of file: ./repos/fastlane/screengrab/lib/screengrab
    
    the code of the file until where you have to start completion: require 'fastlane_core/print_table'
require 'fastlane_core/command_executor'
require 'fastlane/helper/adb_helper'
require_relative 'reports_generator'
require_relative 'module'

module Screengrab
  class 
    
    def run_tests_for_locale(device_type_dir_name, locale, device_serial, test_classes_to_use, test_packages_to_use, launch_arguments, sdk_version)
      UI.message("Running tests for locale: #{locale}")

      instrument_command = ["-s #{device_serial.shellescape} shell am instrument --no-window-animation -w",
                            "-e testLocale #{locale.shellescape.shellescape}"]
      if sdk_version >= 28
        instrument_command << "--no-hidden-api-checks"
      end