之前一直使用的click Button,今天调试的时候,突然遇到弹出的对话框立刻就消失了,conform action还没有操作就没有了。
仔细分析下click button的用法
Arguments:
locator: The locator to find requested element. Key attributes for arbitrary elements are id and name. See `introduction` for details about locating elements.
skip_ready: A boolean flag to skip the wait for page ready. (Default False)
通常使用了默认的skip_ready
将skip_ready修改为True,问题解决。