Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dispatch input and change events at the SetValue() target (#819)
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.
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters