Great, Just as a pop a lucky egg the servers go down.
Just add AutomaticEnterCode() and call it when asked visit google and enter code again.
private void AutomaticEnterCode(string token)
{
//Thread.CurrentThread.SetApartmentState(ApartmentState.STA);
IWebDriver driver = new ChromeDriver(Settings.ChromeDriverLocation);
driver.Navigate().GoToUrl("http://www.google.com/device");
IWebElement searchEmail = driver.FindElement(By.Id("Email"));
searchEmail.SendKeys(Settings.Email);
IWebElement searchNextButton = driver.FindElement(By.Id("next"));
searchNextButton.Click();
driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(6));
IWebElement searchPassword = driver.FindElement(By.Id("Passwd"));
searchPassword.SendKeys(Settings.PtcPassword);
searchPassword.Submit();
IWebElement searchInputCode = driver.FindElement(By.Id("single_input_user_code"));
searchInputCode.SendKeys(token);
searchInputCode.Submit();
driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(50));
Thread.Sleep(10000);
IWebElement searchApproveButton = driver.FindElement(By.Id("submit_approve_access"));
searchApproveButton.Click();
driver.Close();
}
It is due to server outage http://www.mmoserverstatus.com/pokemon_go
Got a critical error (I was using this path: @"C:\Users\Егор\Desktop\CatcherStopperTransfer\Selenium"
Remember that Google only works for 30 Minutes then you need to restart the prog
ram.
Please visit https://www.google.com/device and enter LHTT-NQKH
Необработанное исключение: OpenQA.Selenium.DriverServiceNotFoundException: The f
ile C:\Users\Seraph\Desktop\Selenium\net40\chromedriver.exe does not exist. The
driver can be downloaded at http://chromedriver.storage.googleapis.com/index.htm
l
в OpenQA.Selenium.DriverService..ctor(String servicePath, Int32 port, String
driverServiceExecutableName, Uri driverServiceDownloadUrl) в c:\Projects\webdriv
er\dotnet\src\webdriver\DriverService.cs:строка 65
в OpenQA.Selenium.Chrome.ChromeDriverService..ctor(String executablePath, Str
ing executableFileName, Int32 port) в c:\Projects\webdriver\dotnet\src\webdriver
\Chrome\ChromeDriverService.cs:строка 47
в OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory, Chr
omeOptions options) в c:\Projects\webdriver\dotnet\src\webdriver\Chrome\ChromeDr
iver.cs:строка 106
в OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory) в c
:\Projects\webdriver\dotnet\src\webdriver\Chrome\ChromeDriver.cs:строка 95
в PokemonGo.RocketAPI.Client.AutomaticEnterCode(String token) в C:\Users\Егор
\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Client.cs:строка 151
в PokemonGo.RocketAPI.Client.<LoginGoogle>d__10.MoveNext() в C:\Users\Егор\De
sktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Client.cs:строка 136
--- Конец трассировка стека из предыдущего расположения, где возникло исключение
---
в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNoti
fication(Task task)
в System.Runtime.CompilerServices.TaskAwaiter.GetResult()
в PokemonGo.RocketAPI.Console.Program.<Execute>d__1.MoveNext() в C:\Users\Его
р\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Console\Program.cs:стр ока 4
6
--- Конец трассировка стека из предыдущего расположения, где возникло исключение
---
в System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6
_1(Object state)
в System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object stat
e)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCon
text, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, Co
ntextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWork
Item.ExecuteWorkItem()
в System.Threading.ThreadPoolWorkQueue.Dispatch()
в System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Для продолжения нажмите любую клавишу . . .
Remember that Google only works for 30 Minutes then you need to restart the prog
ram.
Please visit https://www.google.com/device and enter HXTA-PBKP
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass
embly 'WebDriver, Version=2.53.1.0, Culture=neutral, PublicKeyToken=null' or one
of its dependencies. The system cannot find the file specified.
at PokemonGo.RocketAPI.Client.AutomaticEnterCode(String token)
at PokemonGo.RocketAPI.Client.<LoginGoogle>d__10.MoveNext() in C:\Users\Serap
h\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Client.cs:line 136
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at PokemonGo.RocketAPI.Console.Program.<Execute>d__1.MoveNext() in C:\Users\S
eraph\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Console\Program.cs:line
46
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__
6_1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object sta
te)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
____________________________________________
thats the error im getting, changed the path for selenium too.
This is Ferox Version with working Evolve & Transfering. Also Google Auth is permanent now.
https://github.com/NecronomiconCodin...-Go-Rocket-API
new error
Remember that Google only works for 30 Minutes then you need to restart the prog
ram.
Please visit https://www.google.com/device and enter PLSA-VXUQ
Excepci贸n no controlada: OpenQA.Selenium.DriverServiceNotFoundException: The fil
e C:\Users\Seraph\Desktop\Selenium\net40\chromedriver.exe does not exist. The dr
iver can be downloaded at http://chromedriver.storage.googleapis.com/index.html
en OpenQA.Selenium.DriverService..ctor(String servicePath, Int32 port, String
driverServiceExecutableName, Uri driverServiceDownloadUrl) en c:\Projects\webdr
iver\dotnet\src\webdriver\DriverService.cs:l铆nea 65
en OpenQA.Selenium.Chrome.ChromeDriverService..ctor(String executablePath, St
ring executableFileName, Int32 port) en c:\Projects\webdriver\dotnet\src\webdriv
er\Chrome\ChromeDriverService.cs:l铆nea 47
en OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory, Ch
romeOptions options) en c:\Projects\webdriver\dotnet\src\webdriver\Chrome\Chrome
Driver.cs:l铆nea 106
en OpenQA.Selenium.Chrome.ChromeDriver..ctor(String chromeDriverDirectory) en
c:\Projects\webdriver\dotnet\src\webdriver\Chrome\ChromeDriver.cs:l铆nea 95
en PokemonGo.RocketAPI.Client.AutomaticEnterCode(String token) en C:\Users\Se
raph\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Client.cs:l铆nea 151
en PokemonGo.RocketAPI.Client.<LoginGoogle>d__10.MoveNext() en C:\Users\Serap
h\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Client.cs:l铆nea 136
--- Fin del seguimiento de la pila de la ubicaci贸n anterior donde se produjo la
excepci贸n ---
en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNot
ification(Task task)
en System.Runtime.CompilerServices.TaskAwaiter.GetResult()
en PokemonGo.RocketAPI.Console.Program.<Execute>d__1.MoveNext() en C:\Users\S
eraph\Desktop\CatcherStopperTransfer\PokemonGo\RocketAPI\Console\Program.cs:l铆n e
a 46
--- Fin del seguimiento de la pila de la ubicaci贸n anterior donde se produjo la
excepci贸n ---
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__
6_1(Object state)
en System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object sta
te)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionCo
ntext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, C
ontextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWor
kItem.ExecuteWorkItem()
en System.Threading.ThreadPoolWorkQueue.Dispatch()
en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Presione una tecla para continuar . . .
I have this error https://i.imgur.com/MdX72tT.jpg