[geb-user] ElementReferenceException when method chaining with Navigator

2017-08-07 Thread Mark
This code is a pared-down version of some web scraping to isolate errors I'm experiencing in a minimal implementation. I've narrowed it down to the difference between doing Navigator.$(selector) and $(full selector). import geb.Browser System.setProperty("webdriver.chrome.driver", 'c:\\we

[geb-user] Re: ElementReferenceException when method chaining with Navigator

2017-08-07 Thread Mark
head tr th') doesn't work? On Monday, August 7, 2017 at 11:25:43 PM UTC-4, Mark wrote: > > This code is a pared-down version of some web scraping to isolate errors > I'm experiencing in a minimal implementation. I've narrowed it down to the > difference

Re: [geb-user] Re: ElementReferenceException when method chaining with Navigator

2017-08-08 Thread Mark
Thanks for the help! You waitFor() approach which also confirms the expected page is loaded is great! I had previously tried someone else's suggestion, which didn't help, which was to wrap the click in a waitFor waitFor { next[0].click() } On Tuesday, August 8, 2017 at 3:38:12 AM UTC-4, Ale