code: def ctrl_x(self, x, to=None):
          
          seq = [Keys.CONTROL, x, Keys.CONTROL]
  
          # This works around a bug in Selenium that happens in FF on
          # Windows, and in Chrome on Linux.
          #
          # The bug was reported here:
          #
          # https://code.google.com/p/selenium/issues/detail?id=7303
          #
          if (self.firefox and self.windows) or (self.linux and self.chrome):
              seq.append(Keys.PAUSE)
  
          if to is None:
              ActionChains(self.driver) \
                  .send_keys(seq) \
                  .perform()
          else:
              self.send_keys(to, seq)
docs: Sends a character to the currently active element with Ctrl
          pressed. This method takes care of pressing and releasing
          Ctrl.