Open WolfThatMoos opened 1 year ago
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
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.
Very cool! Happy to review a PR if you want to open it!
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