Do you have a Page Object for this page is it part of your project or separate script?
-- Trinidad Esparza "Opportunity for Wisdom, Wisdom for Culture" 616-890-0453 On Oct 11, 2019, 8:49 AM -0400, Ben Frey <[email protected]>, wrote: > Those are all good options to know about, but those settings didn't address > my issue. > > On Thursday, October 10, 2019 at 5:58:51 PM UTC-5, Trinidad Esparza wrote: > > this goes in your GebConfig > > > > baseNavigatorWaiting = true > > https://gebish.org/manual/current/#waiting-for-base-navigator > > https://gebish.org/manual/current/#content-dsl-wait > > > > atCheckWaiting = true > > https://gebish.org/manual/current/#at-check-waiting > > > > cacheDriverPerThread = true > > https://gebish.org/manual/current/#driver-caching-configuration > > > > autoClearCookies = false > > https://gebish.org/manual/current/#auto-clearing-cookies-configuration > > > > > > > > > > > > On Thursday, October 10, 2019 at 12:16:29 PM UTC-4, Ben Frey wrote: > > > I don't have atCheckWaiting set at all, so it's whatever the default is > > > (can't find what it is in the documentation). The only thing in the at > > > block is a title check, and I see the title long before Geb decides to > > > continue navigation. The pageLoadStrategy sounds promising, but is there > > > a way to set it only for a given page? > > > > > > On Thursday, October 10, 2019 at 11:07:43 AM UTC-5, jc wrote: > > > > This could be a couple things. Do you have atCheckWaiting set to true > > > > in GebConfig? If so, it will wait for everything in your pages static > > > > at {} block. The other thing could be the driver's page load strategy. > > > > I know Chrome and Firefox drivers you can set different levels of page > > > > load strategy with capabilities. For example, my firefox driver uses > > > > capabilities.setCapability("pageLoadStrategy","eager") > > > > > > > > pageLoadStrategy supports the following values : > > > > > > > > 1. > > > > normal > > > > This stategy causes Selenium to wait for the full page loading (html > > > > content and subresources downloaded and parsed). > > > > 2. > > > > eager > > > > This stategy causes Selenium to wait for the DOMContentLoaded event > > > > (html content downloaded and parsed only). > > > > 3. > > > > none > > > > This strategy causes Selenium to return immediately after the initial > > > > page content is fully received > > > > > > > > Be careful when you change this though as you can introduce a lot of > > > > timing errors. > > > > > > > > On Thursday, October 10, 2019 at 10:49:06 AM UTC-5, Ben Frey wrote: > > > > > I have a logon script that goes to the login page, enters the user's > > > > > credentials, then once we hit the member home page, I want to > > > > > navigate to a specific URL. This works fine, but Geb is waiting for > > > > > all of the content on the home page to load before it navigates away, > > > > > which is unnecessary. Is there a way to tell Geb "once you're at > > > > > HomePage, immediately navigate to TargetPage"? > -- > You received this message because you are subscribed to a topic in the Google > Groups "Geb User Mailing List" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/geb-user/KHAf373sQVI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/geb-user/a36b87f1-c42c-4f73-a1f4-82ea49d30034%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/2a6223a8-815d-4089-840d-59e413a63dd2%40Spark.
