-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed as not planned
Labels
Description
What happened?
I cannot upload files in the docker standalone. Neither through manually selecting a file on noVNC or through selenium. When doing it manually I can select a file but then it just does nothing. With send_keys also nothing happens. Happens both on selenium/standalone-firefox:latest and selenium/standalone-chromium:latest
(if I run it locally on chrome it works fine of course)
Also, saving the website with Ctrl+S fails, not sure if it is related:
Command used to start Selenium Grid with Docker (or Kubernetes)
#!/bin/bash
docker stop selenium-grid
docker rm selenium-grid
docker run -d \
-p 4444:4444 \
-p 7900:7900 \
-v $PWD/tests/share:/home/seluser/Downloads \
--shm-size="2g" \
--name=selenium-grid \
--network testing-network \
selenium/standalone-firefox:131.0-20241024
# selenium/standalone-firefox:latest
# selenium/standalone-chromium:latest
Relevant log output
Upload INFO 2024-10-25 11:17:19,442 sim_utils.py:120 -> upload_document(): Uploading file: /app/tests/assets/small_double_column.pdf
POSTht DEBG 2024-10-25 11:17:19,445 selenium.webdriver.remote.remote_connection remote_connection.py:305 -> execute(): POST http://selenium-grid:4444/wd/hub/session/a41d3e00-1612-40b6-bd83-80aa2a469f7b/se/file {'file': 'UEsDBBQAAAAIAAJNU1mDPKx+MDoAAMJFAAAXAAAAc21hbGxfZG91YmxlX2NvbHVtbi5wZGbNvHVc\nlNsWMEyKEoISEgIjjdQ0DAh...', 'id': 'eb674223-53a5-4866-b6bf-92b167b0709d'}
Remote DEBG 2024-10-25 11:17:19,461 selenium.webdriver.remote.remote_connection remote_connection.py:334 -> _request(): Remote response: status=200 | data={
"value": "\u002ftmp\u002fsession12995099737285531279a41d3e00-1612-40b6-bd83-80aa2a469f7b\u002fupload14499275874306421758file\u002fsmall_double_column.pdf"
} | headers=HTTPHeaderDict({'content-length': '160', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json; charset=utf-8'})
Finish DEBG 2024-10-25 11:17:19,461 selenium.webdriver.remote.remote_connection remote_connection.py:361 -> _request(): Finished Request
POSTht DEBG 2024-10-25 11:17:19,462 selenium.webdriver.remote.remote_connection remote_connection.py:305 -> execute(): POST http://selenium-grid:4444/wd/hub/session/a41d3e00-1612-40b6-bd83-80aa2a469f7b/element/eb674223-53a5-4866-b6bf-92b167b0709d/value {'text': '/tmp/session12995099737285531279a41d3e00-1612-40b6-bd83-80aa2a469f7b/upload14499275874306421758file/...', 'value': ['/', 't', 'm', 'p', '/', 's', 'e', 's', 's', 'i', 'o', 'n', '1', '2', '9', '9', '5', '0', '9', '9', '7', '3', '7', '2', '8', '5', '5', '3', '1', '2', '7', '9', 'a', '4', '1', 'd', '3', 'e', '0', '0', '-', '1', '6', '1', '2', '-', '4', '0', 'b', '6', '-', 'b', 'd', '8', '3', '-', '8', '0', 'a', 'a', '2', 'a', '4', '6', '9', 'f', '7', 'b', '/', 'u', 'p', 'l', 'o', 'a', 'd', '1', '4', '4', '9', '9', '2', '7', '5', '8', '7', '4', '3', '0', '6', '4', '2', '1', '7', '5', '8', 'f', 'i', 'l', 'e', '/', 's', 'm', 'a', 'l', 'l', '_', 'd', 'o', 'u', 'b', 'l', 'e', '_', 'c', 'o', 'l', 'u', 'm', 'n', '.', 'p', 'd', 'f']}
Remote DEBG 2024-10-25 11:17:19,478 selenium.webdriver.remote.remote_connection remote_connection.py:334 -> _request(): Remote response: status=200 | data={"value":null} | headers=HTTPHeaderDict({'content-length': '14', 'content-type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'})
Finish DEBG 2024-10-25 11:17:19,479 selenium.webdriver.remote.remote_connection remote_connection.py:361 -> _request(): Finished Request
Operating System
ubuntu
Docker Selenium version (image tag)
131.0-20241024
Selenium Grid chart version (chart version)
No response