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

How to automatically fill a form on the loaded page? #285

Open
fccoelho opened this issue Dec 29, 2018 · 2 comments
Open

How to automatically fill a form on the loaded page? #285

fccoelho opened this issue Dec 29, 2018 · 2 comments

Comments

@fccoelho
Copy link

Hi,
I want to be able to automatically fill a form on the page I am loading, with values from my application.

Is there a way to do this? perhaps injecting some JS code in the page, or having access to the page's DOM after it loads...

Any ideas will be appreciated.

@fccoelho
Copy link
Author

I have tried

flutterWebviewPlugin.evalJavascript(' $("#docform input[name=\'name\']").val("test");')

After loading the page, but it does not seem to work

@siva563
Copy link

siva563 commented May 8, 2020

@fccoelho do you got solution could you please post your answer here

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

2 participants