none
google chrome script for auto refresh/reload for single tab

    Question

  • I am trying to have a powershell in order to automatically refresh google chrome tab , the below script works fine but it refreshes all tab , can you help 

    while(1 -eq 1){ 
            $wshell=New-Object -ComObject wscript.shell; 
            $wshell.AppActivate('Google Chrome'); # Activate on Google Chrome 
            Sleep 10; # Interval (in seconds) 
                    $wshell.SendKeys('{F5}'); # F5 to refresh active page 
    }1
    Thursday, April 18, 2019 9:45 AM

All replies

  • Please ask Chrome questions on the Google Chrome developer forum.  This forum does not support Chrome.  It is likely that what you are trying to do cannot be done with Chrome.


    \_(ツ)_/

    Thursday, April 18, 2019 12:06 PM
    Moderator