Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quick and stupid traffic generator, will show chrome on site so you can see how it deals with traffic, has a hard dependency on chrome.
Function connect-towebsite
{
Param($siteURL)
cd "C:\Program Files (x86)\Google\Chrome\Application\"
for ($i=0; $i -lt 100; $i++)
{
.\chrome.exe -incognito $siteURL
start-sleep 5
get-process "*chrome*" | Stop-Process
start-sleep 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment