"use strict";
(function() {
  var MouseEventController = require("MouseEventController");

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

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

  controller.click = function(opts) {
    this.mousedown({ selectorButton: opts.selectorButton });
    this.mouseup({ selectorButton: opts.selectorButton });
  };
})();

@@ -187,32 +187,95 @@
 ntrolsContainer%5D
+ button%5Bdata-qa-id=resumeButton%5D, div%5Bclass%5E=ControlsContainer%5D
  button%5Bdata-tes
@@ -327,32 +327,94 @@
 ntrolsContainer%5D
+ button%5Bdata-qa-id=pauseButton%5D, div%5Bclass%5E=ControlsContainer%5D
  button%5Bdata-tes
@@ -468,32 +468,93 @@
 ntrolsContainer%5D
+ button%5Bdata-qa-id=nextButton%5D, div%5Bclass%5E=ControlsContainer%5D
  button%5Bdata-tes
@@ -632,44 +632,172 @@
 ata-
-testid=previousButton%5D%22,%0A    mute: %22
+qa-id=previousButton%5D, div%5Bclass%5E=ControlsContainer%5D button%5Bdata-testid=previousButton%5D%22,%0A    mute: %22div%5Bclass%5E=ControlsContainer%5D button%5Bdata-qa-id=volumeButton%5D, 
 div%5B

Check Plex control buttons for both data-testid and data-qa-id (#809)