SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

Selenium hangs when using Firefox 25 and above. #7002

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 7002

What steps will reproduce the problem?
1. Run the following Python script.
import inspect, os, time, traceback
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.keys import Keys

def Testing():
    browser = webdriver.Firefox()
    testUrl = "https://www.chase.com/"
    browser.get(testUrl)
    element = browser.find_element_by_link_text("Careers")
    element.click()
    browser.back() #This is where Firefox "stops responding".
    time.sleep(10) #This gives page plenty of time to load.
    print("This is the last line executed.")
    #Code below here never gets a chance to execute.
    element2 = browser.find_element_by_link_text("Security")
    element2.click()
    pressEnter=input("Press Enter key") #This holds the command prompt open.
    #If Command Prompt is closed, then Firefox continues.    

if __name__ == "__main__":
    try:
        Testing()
    except:
        ErrorMessage = traceback.format_exc()
        print(ErrorMessage)

What is the expected output?
Expect to browse two pages (w/o hanging).

What do you see instead?
Firefox stops responding after browser.back() is executed.

Selenium WebDriver version: 2.39.0
Python version: 3.3.3
OS: Windows 7 Home Premium, XP, Windows 7 Pro (I tried every OS I could)
Browser: Firefox 27.0.1

NOTE: This issue first occurred on firefox version 25.0 and last worked correctly on
firefox 24.  Various version of Selenium have been used during this release timeframe
with the same hanging results.
Thanks,
Samuel

Reported by samuelwise8 on 2014-02-18 20:11:56

lukeis commented 8 years ago
Reproduced

Reported by barancev on 2014-02-20 20:24:44

lukeis commented 8 years ago
Related to this issue?
https://code.google.com/p/selenium/issues/detail?id=7279

Reported by jeffiwebss on 2014-05-11 23:09:31

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:46:33