selenium webdriver - Dismiss FIle Upload Dialog while running e2e tests on Protractor -


i testing image upload , preview jasny-bootstrap library, using e2e tests on protractor.

for reason, image preview shown if sendkeys path input[type=file] after clicking on select button.

now, how dismiss file upload dialog opens on clicking select button?

i have tried pressing esc using solutions on answer, , none of them work.


Comments

Popular posts from this blog

go - Idiomatic way to handle template errors in golang -

python - Creating a new virtualenv gives a permissions error -

c# - What is a NullReferenceException, and how do I fix it? -