richardbreak
New Member
- Joined
- Mar 11, 2012
- Messages
- 12
Hi
I am using Selenium and VBA to book an event.
The website where I need to book has a page which has a "countdown" until the booking times are released.
Once the booking "opens" then this page refreshes. (Prior to this it has a Please do not refresh message on it)
I have a loop
Do While obj.IsElementPresent(findby.XPath("//*[text() = 'Booking will automatically become available in:']"), timeout = 2000)
which waits until the page changes
and then
If obj.IsElementPresent(findby.Css(".controls [data-teetime-selected*= '" & Teetime & "']"), 1) Then
I am getting a "Rapid Refresh Detected" page when the page switches state when it "Opens" instead of the tee booking page.
Does VBA refresh the page somehow every time it loops?
Has anyone come across this before?
Perhaps I could load all elements and then search for the correct time?
Hopefully enough info and issue described OK - Unfortunately unable to copy website address.
Any assistance much appreciated
Thank you
I am using Selenium and VBA to book an event.
The website where I need to book has a page which has a "countdown" until the booking times are released.
Once the booking "opens" then this page refreshes. (Prior to this it has a Please do not refresh message on it)
I have a loop
Do While obj.IsElementPresent(findby.XPath("//*[text() = 'Booking will automatically become available in:']"), timeout = 2000)
which waits until the page changes
and then
If obj.IsElementPresent(findby.Css(".controls [data-teetime-selected*= '" & Teetime & "']"), 1) Then
I am getting a "Rapid Refresh Detected" page when the page switches state when it "Opens" instead of the tee booking page.
Does VBA refresh the page somehow every time it loops?
Has anyone come across this before?
Perhaps I could load all elements and then search for the correct time?
Hopefully enough info and issue described OK - Unfortunately unable to copy website address.
Any assistance much appreciated
Thank you