def perform_key_combo()

in modules/page_base.py [0:0]


    def perform_key_combo(self, *keys) -> Page:
        """
        Use ActionChains to perform key combos. Modifier keys should come first in the function call.
        Usage example: perform_key_combo(Keys.CONTROL, Keys.ALT, "c") presses CTRL+ALT+c.
        """
        while Keys.CONTROL in keys and self.sys_platform == "Darwin":
            keys[keys.index(Keys.CONTROL)] = Keys.COMMAND
        for k in keys[:-1]:
            self.actions.key_down(k)

        self.actions.send_keys(keys[-1])

        for k in keys[:-1]:
            self.actions.key_up(k)

        self.actions.perform()

        return self