Skip to content

Commit df6b58d

Browse files
authored
Update Choose File doc to mention support for grid (robotframework#1318)
* Update Choose File doc to mention support for grid The Selenium will, magically, transfer the file from the file system where Robot Framework is running to the Selenium Grid node file system. Selenium will ensure that file is transferred to know location, like %TMP% or $TMP and file system does not have to same (Example transfer from Windows to Linux works fine.) Fixes robotframework#449
1 parent de9d233 commit df6b58d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/SeleniumLibrary/keywords/formelement.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,12 @@ def choose_file(self, locator, file_path):
197197
198198
This keyword is most often used to input files into upload forms.
199199
The file specified with ``file_path`` must be available on machine
200-
where tests are executed.
200+
where tests are executed. When using Selenium Grid, Seleniun will,
201+
[https://seleniumhq.github.io/selenium/docs/api/py/webdriver_remote/selenium.webdriver.remote.command.html?highlight=upload#selenium.webdriver.remote.command.Command.UPLOAD_FILE|magically],
202+
transfer the file from the machine where test are executed
203+
to the Selenium Grid node where the browser is running.
204+
Then Selenium will send the file path, from to node file
205+
system, to the browser.
201206
202207
Example:
203208
| `Choose File` | my_upload_field | ${CURDIR}/trades.csv |

0 commit comments

Comments
 (0)