zhengxintong / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Blocking issue with FF14+ (Selenium Server hangs) #182

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We had an issue with our site from the very long time for which we can not use 
FF version greater than 14. I have already discussed this issue couple of times 
in selenium users forum, but still no great response from anybody:
https://groups.google.com/forum/#!msg/selenium-users/361-Pkc4zVg/wcdpsRgTyDUJ

What steps will reproduce the problem?
1. Reproducible in both RemoteWebDriver and LocalWebDriver.
2. Using selenium, go to this page: 
http://onlinepizza.se/Teststad/Demorestaurang
3. Then add an item to the cart and proceed to checkout page, then you can able 
to see that webdriver hangs on the checkout page. Here it is my simple code:

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class TestCode  {
    public static void main(String[] args) throws InterruptedException {
        WebDriver driver = new FirefoxDriver();
        driver.get("http://onlinepizza.se/Teststad/Demorestaurang");
        driver.findElement(By.xpath("//div[@onclick='addProd(70616,0)']")).click();
        Thread.sleep(1000);

        driver.switchTo().frame("rightFrame");
        driver.findElement(By.linkText("Till kassan")).click();
        Thread.sleep(1000);

        /*WebDriver hangs here.......*/
        driver.findElement(By.cssSelector("input[type='submit']")).click();
        System.out.println("Heloooooooooo........");
        driver.quit();
    }
}

The above code block works only upto FF14 with selenium server 2.28.0.  After 
FF14+ it hangs up.

What version of the product are you using? On what operating system?
Firefox Driver, reproducible in both Mac and WIN.

Original issue reported on code.google.com by mahadi@onlinepizza.se on 20 Jan 2013 at 7:50

GoogleCodeExporter commented 9 years ago
Moved to: Issue selenium:5050

Original comment by kka...@google.com on 22 Jan 2013 at 4:07