sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16836
Re: [Question #222826]: How to launch firefox on a remote PC
Question #222826 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222826
Status: Open => Answered
RaiMan proposed the following answer:
Ok, then you are running a Sikuli script on your local machine, that
acts on the window of the remote machine, after having started a VNC or
RDT session.
So you currently click on the "remote" FF icon on the "remote" desktop,
if I understand right.
So you might try the simulation of the manual way with type() (Windows
7):
type(Key.ESC, KeyModifier.CTRL) # opens the start menu
wait(0.5)
type("firefox") # enters into the search field
wait(1)
type(Key.ENTER) # triggers the topmost entry (which should be "Mozilla Firefox")
the wait()'s have to be appropriate for your systems to give time for
the GUI to be prepared for the next type().
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.