I have the following code that's supposed to setFile on a file input. After uploading, the FB UI will append a new div ( class '._3-98._3-8-') to the DOM.
I was expecting wait(selector) to be able to wait until the new div appears and then evaluate the result, but it stays waiting forever and then times out. I can confirm that this div appears if i do wait(10000) instead, but its more reliable to wait until the element appears!
I have the following code that's supposed to setFile on a file input. After uploading, the FB UI will append a new div ( class '._3-98._3-8-') to the DOM.
I was expecting wait(selector) to be able to wait until the new div appears and then evaluate the result, but it stays waiting forever and then times out. I can confirm that this div appears if i do wait(10000) instead, but its more reliable to wait until the element appears!
Please help! Thanks!!