-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
C-nodejs 4.0.0 Using submit on a WebElement causes error Cannot call non W3C standard command while in W3C mode #9916
Comments
The message appears to be correct as that method has been removed. We need to update the bindings here. |
Fix for contributors wanting to try: To solve this issue we need to add a new command to |
@AutomatedTester Thank you for the feedback but what confused me most, ist the fast that it is also in the documentation and also has the TypeScript definitions. |
There should be a submit command but how it works shouldn’t be how the code is now. I’ve left the other comment in case new contributors want to try fix it.
…On Oct 14, 2021, 3:52 PM +0100, Dieter Oberkofler ***@***.***>, wrote:
@AutomatedTester Thank you for the feedback but what confused me most, ist the fast that it is also in the documentation and also has the TypeScript definitions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
…eleniumHQ#9936) * [js] Fixes SeleniumHQ#9916 * [js] Add support for form submit in W3C mode
🐛 Bug Report
When trying to use the submit method on a web element, the
Cannot call non W3C standard command while in W3C mode
exception is thrown.https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/lib/webdriver_exports_WebElement.html#submit
To Reproduce
Expected behavior
This should not throw an exception.
Test script or set of commands reproducing this issue
Environment
OS: macOS 11.6
Browser:
Browser version:Chrome 94
Browser Driver version: ChromeDriver 94
Language Bindings version: nodejs 4.0.0
Selenium Grid version (if applicable):
The text was updated successfully, but these errors were encountered: