anshulmathur
Power Member
- Nov 5, 2014
- 584
- 194
Hi,
I want to open Microsoft Edge as a mobile agent and search for a query.
The script/code I have is working on a normal browser profile, but I want to make searches as mobile.
Can anyone please help in modifying the code?
Will be thankful. Here's the code I am using.
Regards
I want to open Microsoft Edge as a mobile agent and search for a query.
The script/code I have is working on a normal browser profile, but I want to make searches as mobile.
Can anyone please help in modifying the code?
Will be thankful. Here's the code I am using.
for ($a = 0; $a -lt 10; $a++){
$RandomSpace = Get-Random -InputObject ("&")
$RandomWord = Get-Random -InputObject (get-content C:\Users\GeeK\Desktop\Images\RandomWordList.txt)
$RandomQuestion = Get-Random -InputObject("What+is+","How+to+download","prefixes+for+","suffixes+for+")
Start-Process -FilePath "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" -ArgumentList "--profile-directory=`"Default`" http://www.google.com/search?q=$RandomQuestion$RandomWord" -WindowStyle Minimized
start-sleep -Milliseconds 3000
}
Regards