Closed chrissnell closed 8 years ago
I think you'll need to poll the page to see if the relevant elements are loaded. There is no clear definition of "loaded" as async JS might still be running and making network requests, so just poll for the element that you expect to see on the page.
On Sep 9, 2016, at 10:59, Chris Snell notifications@github.com wrote:
I'm writing a simple page performance tester. I'm trying to fill in a form, issue a Click() on the submit button, and then gather timing information on the page that's returned by the server after the submission.
I'm able to fill the form out (FindElement(), SendKeys()) and I can issue the Click() but I haven't figured out how to wait until the resulting new page is rendered before attempting to gather timings. Is this possible in go-selenium?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
OK, thanks!
I'm writing a simple page performance tester. I'm trying to fill in a form, issue a
Click()
on the submit button, and then gather timing information on the page that's returned by the server after the submission.I'm able to fill the form out (
FindElement()
,SendKeys()
) and I can issue theClick()
but I haven't figured out how to wait until the resulting new page is rendered before attempting to gather timings. Is this possible ingo-selenium
?