我有这个问题:
在我试图使用WebDriverio测试的网站上,它具有此功能:
- 您单击一个按钮上传文件(窗口打开以选择您的本地文件)
- 您选择文件并单击“接受”。
- 单击“接受”时,模态将打开并为您提供进度栏,并为继续进行过程和测试提供一些强制性输入。
在其他情况下,请上传文件:
它可以正常工作!
但是在这种情况下,我需要在单击窗口上单击“接受后”(无论如何我都没有真正单击当地文件窗口的接受按钮,所以可能以前应该解决,但是我不知道如何做到这一点)……它没有发生。
感谢您的帮助!
I'm having this problem:
At the website I'm trying to test with webdriverio, it has this functionality:
- You click a button to upload a file (a window opens to choose your local file)
- You select your file and click Accept.
- When you click Accept, a modal opens and gives you a progress bar and also some mandatory inputs to continue the process and the test.
In other cases, uploading the file with this:
https://webdriver.io/blog/2019/06/25/file-upload/
it works fine!
But in this case, I need to open the modal after you click Accept at the window (anyway I'm not really clicking on Accept button at the locals file window, so probably this should be solve before, but I don't know how to do it)… and its not happening.
Thanks for the help!
发布评论