This could be solved by adding extra asserts for wait for page be entirely load, but it is not required.
Attach a file by drag & drop or click to upload