def post_message(self, message, duration=None, pause=True, style="<STR_LIT:info>"):
if not duration:<EOL><INDENT>if not self.message_duration:<EOL><INDENT>duration = settings.DEFAULT_MESSAGE_DURATION<EOL><DEDENT>else:<EOL><INDENT>duration = self.message_duration<EOL><DEDENT><DEDENT>js_utils.post_message(<EOL>self.driver, message, duration, style=style)<EOL>if pause:<EOL><INDENT>duration = float(duration) + <NUM_LIT><EOL>time.sleep(float(duration))<EOL><DEDENT>
Post a message on the screen with Messenger.
            Arguments:
                message: The message to display.
                duration: The time until the message vanishes. (Default: 2.55s)
                pause: If True, the program waits until the message completes.
                style: "info", "success", or "error".

            You can also post messages by using =>
                self.execute_script('Messenger().post("My Message")')