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

set username password #1

Open
ashishoc opened this issue Mar 3, 2015 · 0 comments
Open

set username password #1

ashishoc opened this issue Mar 3, 2015 · 0 comments

Comments

@ashishoc
Copy link

ashishoc commented Mar 3, 2015

is it possible to set username and password for webview using javascript for every login page.
I can able to set username and password if I knew html element id for how can achieve this without knowing elements id cause every login page consist different elements id .please help

          webview.loadUrl("javascript:document.getElementById('email').value = '"+someText+"'; document.getElementById('pass').value = '"+pass+"';  document.getElementById('login_form').submit();  ");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant