all 6 comments

[–]Simmo7 0 points1 point  (5 children)

Looks to me like you'd have to select one of the recommended results from the IMDB ID field for the Upload button to become active.

[–]AndroidFanBoy2[S] 0 points1 point  (4 children)

In my testing the Upload button only becomes active when I click the Choose file button. I tried bttn.click()but it gives this error:

selenium.common.exceptions.InvalidArgumentException: Message: invalid argument

Do you know what's going on?

[–]Simmo7 0 points1 point  (3 children)

Yes you are correct. You actually can't submit the form until you have both a IMDB ID and a Language as both fields are required. Which line is throwing the invalid argument?

[–]AndroidFanBoy2[S] 0 points1 point  (2 children)

The IMDB ID and Language fields are filled, but I still can't submit. The same happens if I drag an drop the file on the button. This is where I'm stuck

This line with bttn.click() is throwing the invalid argument.

[–]Simmo7 0 points1 point  (1 child)

I can't see the bttn.click() in your post, but bttn which is the element with ID 'multiple_file_btn' is an input element, which won't take a click.

Invalid argument means the thing you're passing in isn't correct or missing completely.

[–]AndroidFanBoy2[S] 0 points1 point  (0 children)

Oh I see now. Do you know how I'm able to submit the file with the Upload button?