Skip to contents

Wait until the prompt appears on the last line.

Usage

expect_prompt(session, interval = 0.5, timeout = NULL)

Arguments

session

A rexpect_session.

interval

Numerical. Time to wait between tries in seconds. Default: 0.5.

timeout

Numerical. Maximum amount of time to wait. Default: NULL.