Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Reload Browser Tab on Windows

by pryrt (Abbot)
on Dec 21, 2020 at 21:39 UTC ( [id://11125574]=note: print w/replies, xml ) Need Help??


in reply to Re: Reload Browser Tab on Windows
in thread Reload Browser Tab on Windows

Since I recommended Win32::GuiTest, I should have given equivalent example using that module, too:

C:\usr\local\share>perl -MWin32::GuiTest=":FUNC" -le "my ($chrome) = F +indWindowLike(0, 'Google Chrome$'); print $chrome; print GetWindowTex +t($chrome); SetForegroundWindow($chrome);SendKeys('{F5}')"

That also refreshes the current Chrome window for me.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11125574]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 14:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found