At what point in the process of creating and using a TestObject (object repo → instantiation with findTestObject → use in an actual method like WebUI.click()) does it actually search for a page element? This came up in a discussion about using “final” with TestObjects and whether that would cause it to become stale upon page refresh. Beyond that though, I wanted to know more generally how TestObjects work “under the hood.”
I know that TestObjects wrap WebElement, so I guess another way to ask this would be “at what point does a TestObject call driver.findElement() to get a WebElement object)?”