You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this gexpect package worked better than the google and netflix ones. but I have one challenge.
I'm trying to capture the response from the automation that I'm trying to do using this package.. my script has ssh commands, and then runs a cli command which has its sub prompt. I'm able to grab all the screen text, using the Capture() and Collect() functions, except after reaching CLI's prompt.
However, when I use Interact() at the end of the script, and remove the Capture() and Collect() calls, then I'm able to see the text from the cli console. So, the gexpect is able to read the screen text from the CLI console, but i'm not able to grab them using the Capture() and Collect() functions. any suggestion on how to resolve this blocker?
Please let me know if you need any more details.
env: mac mojave
The text was updated successfully, but these errors were encountered:
this
gexpect
package worked better than the google and netflix ones. but I have one challenge.I'm trying to capture the response from the automation that I'm trying to do using this package.. my script has
ssh
commands, and then runs a cli command which has its sub prompt. I'm able to grab all the screen text, using theCapture()
andCollect()
functions, except after reaching CLI's prompt.However, when I use
Interact()
at the end of the script, and remove theCapture()
andCollect()
calls, then I'm able to see the text from the cli console. So, thegexpect
is able to read the screen text from the CLI console, but i'm not able to grab them using theCapture()
andCollect()
functions. any suggestion on how to resolve this blocker?Please let me know if you need any more details.
env: mac mojave
The text was updated successfully, but these errors were encountered: