Skip to content
Advertisement

Tag: angularjs

Selenium click on ng-click button

I am trying to automate a website with selenium to download an excel file. I have the following HTML for the button: I have tried clicking on the button with the following find element by class: The error message I get is: I have also tried: And received the following error: I have logged in this website successfully and worked

Django Rest Framework File Upload

I am using Django Rest Framework and AngularJs to upload a file. My view file looks like this: As the last line of post method should return all the data, I have several questions: how to check if there is anything in request.FILES? how to serialize file field? how should I use parser? Answer Use the FileUploadParser, it’s all in

Advertisement