Skip to content

Instantly share code, notes, and snippets.

@satyagraha
Created February 20, 2013 21:34
Show Gist options
  • Save satyagraha/4999843 to your computer and use it in GitHub Desktop.
Save satyagraha/4999843 to your computer and use it in GitHub Desktop.
Why do I get: "type mismatch; found : com.wierd.FFTest.Dimension required: org.openqa.selenium.Dimension"
package com.wierd
import org.openqa.selenium.Dimension
import org.scalatest.selenium.Firefox
object FFTest extends Firefox {
def main(args: Array[String]): Unit = {
webDriver.manage.window.setSize(new Dimension(1200, 800))
goTo("http://wierd.com")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment