Closed framesGit closed 3 years ago
Did browsers logged in successfully? If so, you don't need to worry about it. It takes some time to see users in chat.
I was checking users from another PC. I had to refresh the browser to see new users in chat.
But don't worry, I will investigate. If there is something wrong, I will fix it. If not, I will share some proofs with you tonight.
There is no problem on login. But you have to refresh your browser to see new users in chat. It is because of Twitch.
Alright, i will make sure to refresh the browser then, thanks a lot!
Sorry to bother you again, but i tried again and login credentials are still not working :( . It actually gives me an error now on the Logs, ill attach them below.
When i run it in Headless mode, viewers go up, proxies work, but usernames dont show in chat, even after refreshing Twitch a lot of times to check new users.
When i disable Headless mode, Chrome process start correctly, but when it tries to log in, it gives me an error in the logs, which is the following:
30/09/2021 01:34:26 | Application started.
30/09/2021 01:34:26 | Reading configuration.
30/09/2021 01:34:33 | Initializing bot.
30/09/2021 01:34:33 | Saving the configuration.
30/09/2021 01:34:33 | Configuration saved.
30/09/2021 01:34:33 | Bot is starting.
30/09/2021 01:34:55 | Bot did it's job.
30/09/2021 01:35:12 | Login failed: OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[3]/div/div/div/div/div/div[1]/div/div/div[3]/form/div/div[1]/div/div[2]/input"}
(Session info: chrome=94.0.4606.61)
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value) at OpenQA.Selenium.Remote.RemoteWebDriver.FindElementByXPath(String xpath) at BotCore.Core.Request(Object obj) in C:\Source\TwitchBot\BotCore\BotCore.cs:line 385 30/09/2021 01:35:27 | Login failed: OpenQA.Selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[3]/div/div/div/div/div/div[1]/div/div/div[3]/form/div/div[1]/div/div[2]/input"} (Session info: chrome=94.0.4606.61) at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse) at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary
2 parameters)
at OpenQA.Selenium.Remote.RemoteWebDriver.FindElement(String mechanism, String value)
at OpenQA.Selenium.Remote.RemoteWebDriver.FindElementByXPath(String xpath)
at BotCore.Core.Request(Object obj) in C:\Source\TwitchBot\BotCore\BotCore.cs:line 385
I dont know if this info helps but thats what the logger outputs, if i can tell you more info to help, let me know and ill gladly add it. Now im using version 2.2 by the way.
Desktop (please complete the following information):
OS: Windows 10
Chrome Version is the latest, updated today (94.0.4606.61)
Bot Version 2.2
Ok, I will check it tonight.
After some testing, it actually works after like 3 or 4 minutes, usernames show on both Headless and not Headless mode, but it still gives me the error message on every execution. I dont know if i have to close the issue since it actually works, and i want to thank you a lot and say sorry for the inconvenience, but maybe the error message can give you some info for debugging.
Ok. I am glad if it is working successfully. I will fix that error.
Ignore it if it is working, because it is trying to find an element on browser to click. Nothing to worry about.
I will close this issue, when I fix the error log. It should be warning.
This error occurs when there is no login button in webpage. If it happens again, please stop the bot and start again.
Describe the bug The login credentials text box is not using the usernames i type in. I dont know if it has to match the number of proxies provided, but i typed 2 usernames and have a list of 3 private proxies. Proxies are working as intended but i dont see the users connected in the chat, even after waiting a lot of time.
To Reproduce Steps to reproduce the behavior:
Expected behavior Login credentials provided work and you can see the usernames connected in chat.
Desktop (please complete the following information):
Additional context I dont know if it has to match the number of proxies provided, but i typed 2 usernames and have a list of 3 private proxies.