title: How do I get Selenium 2 webdriver to work with Nightly (Firefox 64 bit)
body: <p>I'm looking to execute a Selenium 2 test against the Nightly browser (FireFox 64bit). It records just fine with the Selenium IDE (v1.8.1).  And it also plays back just fine using using the IDE.  I then export the code to TestNG format.  By the way I've loaded up the Webdriver Backed plugin so it exports WebDriver code for the Selenium 2 version.  The problem I'm having is that when I export the code to TestNG format (Java) and execute it, the asserts never find the text on the screen.  It executes fine so its not that the code didn't convert.  It just seems to be something with the asserts.  If I play it from the IDE plugin it finds it the text and asserts just fine, however as soon as it executes in Java it fails all the assertions.  Any ideas to what might be going on.  My code is below.  Thanks much!</p>
  
  <pre><code>import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.WebDriverBackedSelenium;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.testng.annotations.AfterMethod;
  import org.testng.annotations.BeforeMethod;
  import org.testng.annotations.Test;
  import static junit.framework.Assert.*;
  
  import com.thoughtworks.selenium.Selenium;
  
  public class TestWithConfig {
  
      WebDriver driver;
      Selenium selenium;
  
      @BeforeMethod
      public void startSelenium() {
          driver = new FirefoxDriver();
          selenium = new WebDriverBackedSelenium(driver,
                  "http://en.wikipedia.org/wiki/Main_Page");
      }
  
      @AfterMethod
      public void stopSelenium() {
          driver.close();
      }
  
      @Test
      public void testTest() {
          selenium.setSpeed("600");
          selenium.open("/wiki/Main_Page");
          assertTrue("face not found",selenium.isTextPresent("face"));
          selenium.click("link=Contents");
          selenium.waitForPageToLoad("30000");
          assertTrue("Below not found",selenium.isTextPresent("Below"));
          selenium.click("link=Toolbox");
          selenium.click("link=What links here");
          selenium.waitForPageToLoad("30000");
          assertTrue("Pages not found",selenium.isTextPresent("Pages that link to"));
          selenium.click("link=exact:Talk:Wine");
          selenium.waitForPageToLoad("30000");
          assertTrue("Some not found",selenium.isTextPresent("Some"));
      }
  
  }
  </code></pre>