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

dispatch input and change events at the chromedp.SetValue target #819

Merged
merged 1 commit into from May 16, 2021

Conversation

ZekeLu
Copy link
Member

@ZekeLu ZekeLu commented May 14, 2021

chromedp.SetValue is supposed to be called against input, textarea and select. For these kind of elements, dispatching input and change events after their values are changed is required.

The document says chromedp.SetValue supports other elements with a .value field. The input and change events will be fired for those elements too. But I'm not ware of such an element, so there is not unit test to cover this case.

Fixes #607

@ZekeLu ZekeLu changed the title dispatch input and change event after chromedp.SetValue dispatch input and change events at the chromedp.SetValue target May 14, 2021
@ZekeLu ZekeLu merged commit d3ef975 into chromedp:master May 16, 2021
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.

change in select doesn't trigger its onchange
1 participant