0

按照本教程: http: //fbflex.wordpress.com/2013/03/18/how-to-configure-webdriver-in-grails-for-your-geb-tests/

我愿意:

def "go to page"() {
    when:
        go "http://www.grails.org.mx"
    then:
        title == "GrailsMX | Groovy y Grails en tu idioma"  
}

当我跑步时,我会收到数百条这样的消息:

13,09 22:06:18:992 [JS executor for com.gargoylesoftware.htmlunit.WebClient@2fc9e7a5] ERROR javascript.StrictErrorReporter - runtimeError: message=[The data necessary to complete this operation is not yet available.] sourceName=[http://grails.org.mx/wp-content/themes/journalcrunch/js/cufon-yui.js] line=[7] lineSource=[null] lineOffset=[0]

其中一些被打印多次?

我不确定我做错了什么或者我应该怎么做?

有小费吗?

4

1 回答 1

0

我认为这是您的浏览器的问题(禁用了 javascript)。试试看这个:读这个

于 2013-09-15T15:45:21.573 回答