ok i fixxed it :P
[QUOTE=dv999;3465809]In GoogleLogin.cs enter
Where to paste ?Code:public static void AutomaticEnterCode(string token) { IWebDriver driver = new ChromeDriver(@"YOURLINK\Desktop\SOMEFILES\Selenium"); // POINT ME TO SELENIUM FOLDER PLEASE driver.Navigate().GoToUrl("http://www.google.com/device"); IWebElement searchEmail = driver.FindElement(By.Id("Email")); searchEmail.SendKeys("YOURGMAIL"); 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("YOURPASSWORD"); 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(); }
[11:49:51] Starting Execute on login server: Google
[11:49:52] Please visit https://www.google.com/device and enter HSDE-GXCF
[11:49:52] Unhandled exception: System.AggregateException: One or more errors oc
curred. ---> System.NotImplementedException: The method or operation is not impl
emented.
at PokemonGo.RocketAPI.Login.GoogleLogin.GetAccessToken(DeviceCodeModel devic
eCode) in C:\Users\asdff_000\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.Rock
etAPI\Login\GoogleLogin.cs:line 69
at PokemonGo.RocketAPI.Client.<DoGoogleLogin>d__23.MoveNext() in C:\Users\asd
ff_000\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.RocketAPI\Client.cs:line 7
1
--- 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.Logic.Logic.<Execute>d__4.MoveNext() in C:\Users\asdff
_000\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.RocketAPI.Logic\Logic.cs:lin
e 40
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceled
Exceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationTo
ken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at PokemonGo.RocketAPI.Console.Program.<>c.<Main>b__0_0() in C:\Users\asdff_0
00\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.RocketAPI.Console\Program.cs:l
ine 17
---> (Inner Exception #0) System.NotImplementedException: The method or operatio
n is not implemented.
at PokemonGo.RocketAPI.Login.GoogleLogin.GetAccessToken(DeviceCodeModel devic
eCode) in C:\Users\asdff_000\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.Rock
etAPI\Login\GoogleLogin.cs:line 69
at PokemonGo.RocketAPI.Client.<DoGoogleLogin>d__23.MoveNext() in C:\Users\asd
ff_000\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.RocketAPI\Client.cs:line 7
1
--- 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.Logic.Logic.<Execute>d__4.MoveNext() in C:\Users\asdff
_000\Desktop\Pokemon-Go-Rocket-API-master\PokemonGo.RocketAPI.Logic\Logic.cs:lin
e 40<---
Last edited by sibryanto; 07-21-2016 at 10:51 PM.