0
我想在我的場景中寫入一些硒。然而,當我嘗試使用下面的代碼來啓動硒:Grails-在EasyB場景中寫入Selenium代碼
before "start selenium", {
given "selenium is up and running", {
selenium = new DefaultSelenium("localhost",
4444, "*firefox", "http://www.google.com.my/")
selenium.start()
}
我得到一個錯誤:
Error running easyb tests: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, : 7: unable to resolve class DefaultSelenium
我想實現這樣的 http://www.theserverside.com/news/thread.tss?thread_id=55184
大加讚賞。