i404
13 years agoContributor
Firefox 11 support
Hi All,
I have a running script that works in FF 8 but I does not like FF11 now.
Here's my Launch_Firefox:
URL="www.google.com"
Sub Launch_Firefox(URL)
Call Log.AppendFolder("Launching FireFox")
Call TestedApps.firefox.Run()
firefox_load = false
While Not(firefox_load)
Call Sys.Refresh
firefox_load = Sys.Process("firefox").WaitWindow("MozillaUIWindowClass", "*", 1, 1000).Exists OR Sys.Process("firefox").WaitWindow("MozillaWindowClass", "*", 1, 1000).Exists
Wend
Set firefox = Aliases.firefox
Call Log.PopLogFolder()
If (Not firefox.WaitPage("*", 20000).Exists) Then
Call Sys.Keys("[Esc]")
End If
Call firefox.WaitPage("*", 1000).ToURL(URL) ---------------> Failed here and it said object not found!
Set page = Aliases.firefox
End Sub
Any thought?
Cheers,
Ian
I have a running script that works in FF 8 but I does not like FF11 now.
Here's my Launch_Firefox:
URL="www.google.com"
Sub Launch_Firefox(URL)
Call Log.AppendFolder("Launching FireFox")
Call TestedApps.firefox.Run()
firefox_load = false
While Not(firefox_load)
Call Sys.Refresh
firefox_load = Sys.Process("firefox").WaitWindow("MozillaUIWindowClass", "*", 1, 1000).Exists OR Sys.Process("firefox").WaitWindow("MozillaWindowClass", "*", 1, 1000).Exists
Wend
Set firefox = Aliases.firefox
Call Log.PopLogFolder()
If (Not firefox.WaitPage("*", 20000).Exists) Then
Call Sys.Keys("[Esc]")
End If
Call firefox.WaitPage("*", 1000).ToURL(URL) ---------------> Failed here and it said object not found!
Set page = Aliases.firefox
End Sub
Any thought?
Cheers,
Ian