Sends a character to the currently active element with Command
        pressed. This method takes care of pressing and releasing
        Command.

def command_x(self, x, to=None):
        """
        Sends a character to the currently active element with Command
        pressed. This method takes care of pressing and releasing
        Command.
        """
        if to is None:
            ActionChains(self.driver) \
                .send_keys([Keys.COMMAND, x, Keys.COMMAND]) \
                .perform()
        else:
            self.send_keys(to, [Keys.COMMAND, x, Keys.COMMAND])