Comments (2)
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 [email protected] 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.
from go-selenium.
OK, thanks!
from go-selenium.
Related Issues (20)
- No way to switch to frame parent HOT 1
- GetCookies sometimes fails on chromedriver HOT 3
- How to switch to frame via WebElement?
- Screenshot return 24 bytes of nothing HOT 1
- Default handle name in case of empty name. HOT 1
- Screenshot() can return io.Reader instead of byte array to give user more control over data HOT 2
- Impose read limit for large content/screenshot etc.
- Remove hard-coded package url HOT 2
- How to set proxy? HOT 1
- Element Screenshot HOT 4
- Selenium ChromeDriver switch tabs HOT 2
- Is this project still maintained? HOT 3
- Failed to open session: unknown error - 33: Unable to create new service: GeckoDriverService HOT 1
- Doesn't work with IeDriverServer
- How to add addon firefox?
- Xpath
- Chrome Instance/Profile? HOT 4
- Adding Cookie Before Load? HOT 2
- /sessions not implemented HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-selenium.