-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
[rb] Upload file command is not W3C compatible #8735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@abhisheksawant16 could you please share the capabilitie used to create the |
@diemol here is how the capabilities file looks.
|
I just verified that this is a Sauce Labs bug, not a Selenium bug. Note that it works for Firefox, but Sauce does an extra layer of processing for Chrome that needs to recognize the new Se4 endpoint and it does not, yet. I've raised the issue internally at Sauce and we're working on a fix. |
@abhisheksawant16 thanks for raising the issue. Also, to clarify, since there is no upload functionality specified in w3c, |
@titusfortner thanks for looking into it. |
🐛 Bug Report
Upload file command is not W3C compatible
To Reproduce
Use the selenium 4.x version with Saucelabs and try to upload a file using upload_file method
Expected behavior
The session should call for the W3C compatible command without '/se'
Incorrect eg:
session/057a6f6332b92799b785cb73f414d279/se/file
Correct eg:
session/057a6f6332b92799b785cb73f414d279/file
Test script or set of commands reproducing this issue
Its not easy to reproduce as this issue only occurs when executing the tests on a remote web driver like Saucelabs in W3C compatible mode
Environment
OS: Windows 10
Browser: Chrome
Browser version: 85
Browser Driver version: 85.0.4183.38
Selenium Grid version (if applicable): 3.142.7
The text was updated successfully, but these errors were encountered: