-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Element Send Keys doesn't honour text
parameters
#594
Comments
geckodriver appears to send To support the largest number of Firefoxen that doesn’t have https://bugzilla.mozilla.org/show_bug.cgi?id=1348782, I suggest making geckodriver send:
|
Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: #594
…sParameters Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: mozilla/geckodriver#594 Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff committer: jgraham <james@hoppipolla.co.uk> --HG-- extra : rebase_source : 1574a632e591dc121cba77fc58c8026435fbef2b
…sParameters Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: mozilla/geckodriver#594 Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff committer: jgraham <james@hoppipolla.co.uk>
…sParameters Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: mozilla/geckodriver#594 Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff committer: jgraham <james@hoppipolla.co.uk>
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
…sParameters Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: mozilla/geckodriver#594 Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff committer: jgraham <jameshoppipolla.co.uk> UltraBlame original commit: b443a2f7254b5fcd744a091013c73d697ee0ae29
…sParameters Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: mozilla/geckodriver#594 Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff committer: jgraham <jameshoppipolla.co.uk> UltraBlame original commit: b443a2f7254b5fcd744a091013c73d697ee0ae29
…sParameters Following https://bugzilla.mozilla.org/show_bug.cgi?id=1348782 and https://bugzilla.mozilla.org/show_bug.cgi?id=1354323, the sendKeysToElement and sendKeysToDialog commands in Marionette accept only a string `text' field as input. These patches to Firefox has since been uplifted all the way to Firefox 53. In order to make geckodriver work with newer Firefox versions again, we need to pass the `text' field. But in order to support older Firefoxen without the `text' field requirement, we also want to continue to send `value' as a string array. Clients must unfortunately send a string `text' field, but it is believed it is easier to upgrade to the latest Selenium release than to pin the exact versions of geckodriver and Firefox. Fixes: mozilla/geckodriver#594 Source-Repo: https://github.com/mozilla/geckodriver Source-Revision: 41f89d878c805e0d66a15f8b6151dda78173ccff committer: jgraham <jameshoppipolla.co.uk> UltraBlame original commit: b443a2f7254b5fcd744a091013c73d697ee0ae29
Firefox Version
55.0a1 (2017-04-02) (64-bit)
Geckodriver version
fd9bf45
Platform
OS X
Steps to reproduce -
Send a
Element Send Keys
command with the payload:According to the spec (steps 7 and 8 of the remote end steps), this should be okay:
Instead, the following error message is sent:
Expected [object Undefined] undefined to be a string
and the following stacktrace:
The text was updated successfully, but these errors were encountered: