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

setFormValue with File as value #103

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ubermanu
Copy link
Contributor

Ok so, somehow managed to make this work on playwright-webkit

  • The FileList implementation being immutable, I've used the DataTransfer.files API (which is not great but does the job)
  • Since the input has to be type=file, I've set some styles on it + the hidden attribute
  • I've tested it on Epiphany 43 (WebKitGTK 2.38.3) and it seem to work fine

Relates to #17

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

Successfully merging this pull request may close these issues.

None yet

1 participant