What steps will reproduce the problem?
See attached script. Basically: chunked upload with plupload (javascript library).
- Select a big file
- Start the upload
- Try to do something with selenium during the upload
What is the expected output? What do you see instead?
I expect the webdriver to respond before all chunks are uploaded. A manual click on
the stop button works, the automated version does fail in Firefox. All calls will not
respond before the end of the upload.
Selenium version: 2.35.0 (python library), also remote with grid and node on 2.35.0
OS: Any (Browser running on Mac/Windows, test code & grid running on Linux(Ubuntu)/Mac
Browser: Firefox
Browser version: 23.0.1
The attached test file (simplified test page with simplified test code) you can run
with Python (2.7) with the selenium (2.35.0) python library install.
Run with:
python test.py <manual|Firefox|Chrome>. With manual the webserver just starts (port
8000), with Firefox or Chrome (case sensitive) it will run the test with that browser.
With chrome the progress poll loop will happen a few times, will detect more then 10%
upload and will press the stop button. With Firefox the calls to selenium blocks (tested
with find_element_by_id, find_element_by_css_selector, find_element_by_xpath, execute_script).
Selenium node log part (with are actual test case):
09:53:51.547 INFO - Executing: [find elements: By.xpath: //div[@class="uploader-block"]/ul[@class="queue-view"]//p[@class="file-name"]]
at URL: /session/09bea2c3-c04d-41f0-aafb-00f149a67a2a/elements)
09:54:22.627 INFO - Done: /session/09bea2c3-c04d-41f0-aafb-00f149a67a2a/elements
Where you see the call block for 31 seconds which is about the time it takes to fully
upload the file.
Originally reported on Google Code with ID 6223
Reported by
paultjuh.org
on 2013-09-06 11:15:50