Cannot open browser

Asked by Neja

Why this code doesn't work. I cannot open FF browser. [error] App.open failed: c:\Program Files(x86)\Mozilla Firefox\firefox.exe not found. I copied FF location from FF properties.

ff = App.open(r"c:\Program Files(x86)\Mozilla Firefox\firefox.exe")
wait(2)
ff.focus()
wait(1)
type("l", KeyModifier.CTRL)
type("http://localhost/Master/")
type(Key.ENTER)

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

should work, if firefox.exe really is there - just check.

Revision history for this message
Neja (keja04) said :
#2

Thanks RaiMan, that solved my question.