I think i have all the latest java bindings in my grails app complied.
‘io.appium:java-client:3.4.0’
‘org.seleniumhq.selenium:selenium-java:2.52.0’
Im using a custom pageFactory(didnt make it guy before me did) here is my method
BasePage initializePage(Class pageClass){
def page = pageClass.newInstance([
driver:driver,
browser:browser,
seleniumHost:seleniumHost,
testResultId:testResultId,
seleniumUtilities:seleniumUtilities,
implicitWaitTime:implicitWaitTime,
statsUtilities:statsUtilities,
paymentUtilities:paymentUtilities,
pageLoadTime:pageLoadTime,
localeUtilities:localeUtilities,
javascriptExecutor:javascriptExecutor
])
PageFactory.initElements(driver, page)
return page
}
SplashPage splashPage = initializePage(SplashPage.class)
spits out this error
Can not set io.appium.java_client.ios.IOSElement field com.company.page.IosPage.SplashPage.doItLaterButton to com.sun.proxy.$Proxy41
i am using an IOSDriver during this.
WebElement works just fine.
Any help would be greatly appreciated