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

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -