Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Username Password Login #18

Open
WolfThatMoos opened this issue Apr 12, 2023 · 3 comments · May be fixed by #22
Open

Username Password Login #18

WolfThatMoos opened this issue Apr 12, 2023 · 3 comments · May be fixed by #22

Comments

@WolfThatMoos
Copy link

I've attempted to log into various websites including a private instance of overseerr, and on any of these pages it errors when attempting to login with invalid/or empty credentials. Obviously login credentials are correct.

This problem is also reported as issues on jvanakker's repo as well. I was hoping this could be looked into.

Similarly Reported Issue #1
Similarly Reported Issue #2
Similarly Reported Issue #3

@Jason-Morcos
Copy link
Member

I think websites probably don't like the cursor moving like it does and are blocking the activity as "potentially a bot". Probably no good way around this, unfortunately, unless Apple really allows browsers on the TV

@thenonameguy
Copy link

thenonameguy commented Apr 10, 2024

The problem was the Javascript code was doing inputDomElement.value = 'textEntered';.
While this works for PHP-era HTML forms, the brave new world embraced React and friends, with controlled input components.

For that, you have to simulate the whole typing experience. I've based my implementation off of Puppeteers page.type code.

Please try it out on my fork: https://github.com/schemamap/tvOS-Browser

Happy to upstream if it solves your issues @WolfThatMoos. Worked well for me for Grafana login.

@Jason-Morcos
Copy link
Member

Very cool! Happy to review a PR if you want to open it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants