<commit_before>;(function() {
  "use strict";

  var MouseEventController = require("MouseEventController");

  var controller = new MouseEventController({
    siteName: "Plex.tv",
    play: "div[class^=ControlsContainer] button[aria-label=Play]",
    pause: "div[class^=ControlsContainer] button[aria-label=Pause]",
    playNext: "div[class^=ControlsContainer] button[aria-label=Next]",
    playPrev: "div[class^=ControlsContainer] button[aria-label=Previous]",
    mute: "div[class^=ControlsContainer] button[aria-label$='ute Volume']",

    song: "title",
    buttonSwitch: true
  });

  controller.click = function(opts) {
    this.mousedown({ selectorButton: opts.selectorButton });
    this.mouseup({ selectorButton: opts.selectorButton });
  };
})();<commit_msg>Use data-qa-id instead for locale support (#549)<commit_after>;(function() {
  "use strict";

  var MouseEventController = require("MouseEventController");

  var controller = new MouseEventController({
    siteName: "Plex.tv",
    play: "div[class^=ControlsContainer] button[data-qa-id=resumeButton]",
    pause: "div[class^=ControlsContainer] button[data-qa-id=pauseButton]",
    playNext: "div[class^=ControlsContainer] button[data-qa-id=nextButton]",
    playPrev: "div[class^=ControlsContainer] button[data-qa-id=previousButton]",
    mute: "div[class^=ControlsContainer] button[data-qa-id=volumeButton]",

    song: "title",
    buttonSwitch: true
  });

  controller.click = function(opts) {
    this.mousedown({ selectorButton: opts.selectorButton });
    this.mouseup({ selectorButton: opts.selectorButton });
  };
})();
{'fraction_non_alphanumeric': 0.1595744680851064, 'fraction_numerical': 0.0018773466833541927, 'mean_word_length': 5.526530612244898, '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': '2121912', 'n_tokens_mistral': 493, 'n_tokens_neox': 479, 'n_words': 85}