-
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 is broken with Firefox 53 or newer and geckodriver 0.15.0 #659
Comments
Hi Firefox_Developper_Edition_54.0a2 (2017-04-18) (64 bits).txt |
Does not work neither with Firefox 53 |
Yes my post spoke about Firefox 53
Da: zosrothko [mailto:notifications@github.com]
Inviato: giovedì 20 aprile 2017 12:32
A: mozilla/geckodriver
Cc: Daniele Caprelli; Author
Oggetto: Re: [mozilla/geckodriver] Probelm : selenium.common.exceptions.WebDriverException: Message: Expected [object Undefined] undefined to be a string (#659)
Does not work neither with Firefox 53
Firefox_53.0 (32 bits).txt<https://github.com/mozilla/geckodriver/files/942348/Firefox_53.0.32.bits.txt>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#659 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Aag_5GXNML0hRMM0_mY7Lu5qcC8MTjmxks5rxzQUgaJpZM4NCpSG>.
|
I took a look at the logs attached, and the problem is that a patch was uplifted from Firefox Nightly to Firefox 53 that makes the Marionette remote control protocol only accept a We have patched geckodriver master to accept |
Could you let this issue open until we can check that it is fixed by the release of geckoriver 0.16.0? |
It has been fixed on master, which the issue tracker is tracking. |
ok, so can you add a label 0.16.0 then? |
Does the very latest Selenium version mean the latest release - 3.3.1, or should I also build it from master? |
Ok but where i can download the 0.16.0 , and how i can build it?
|
I think 3.3.1 should be sufficient.
0.16.0 has not been released yet, but build instructions are in the README. |
Please note that “me too” comments are not valuable. |
When will 0.16.0 be released? |
When it is done. That’s the best estimate I can give, sorry. |
Similar issue on Linux (ubuntu) as well following are the logs, in case it provides some more information.
|
andreastt could you point me where is the README you refer please?? |
Hi emolinaibanez, |
@andreastt I di build the master geckodriver. 1492782738189 geckodriver INFO Listening on 127.0.0.1:18190 |
@praveenashok I can’t tell what’s wrong from that alone. Could you paste the trace-level log from geckodriver somewhere? (See the README on how to crank up the log verbosity.) |
OK will do it. Thanks |
Have tested this in FF 53, geckodriver-v0.16.1-win64, Windows 64 Bit, Selenium 3.4.0 and it passed. It is WORKING now. All, appreciate your help and guidance. Thank you! |
Not working with:
I'll try to investigate the behavior from my logs, forum comments, and address it better in subsequent feedback (whether here and/or another bug). |
@russcarter This has been confirmed fixed by several users, so I suspect you haven’t updated to the latest geckodriver, Selenium, and Firefox version. Please ensure you’re using Firefox Nightly for the best experience. If it still does not work for you, you are welcome to file a new bug, but we will need a geckodriver trace-level log attached to it. |
Thank you everyone (especially @andreastt and @danosoft77) This page helped me a lot. My configurations as below.
|
Working with:
@andreastt, thank you for fixing the issue. |
(Moved to 786)Still an Issue for: Selenium: 3.4 What I tried: Result: Note: I can still send normal keys to an input element. |
Seem to be having same issue with: Selenium: 3.4.3 |
Are you using proxy ? If so, you have to strip the port from 'httpProxy' element and add it to 'httpProxyPort' element.
This fix solved the issue for me |
I'm personally not using proxy, but thanks for the info/fix! |
Also currently having this issue. Let me know if I can provide other helpful details.
|
I go this same issue I solved this issue by watching this video |
@sagar3715 In what way does the video help with the issue? |
C# workaround: |
also c#:
|
@sagar3715 the video is removed. What is the video about? Anyone had similar issue with geckodriver 0.18? sendKeys(protractor.Key.SPACE) doesn't work. |
I have the same issue now with Firefox 55.0.1 & 55.0.2 x64 with geckodriver 0.18.0 x64. On file upload button/dialog and SendKeys (C#) -> File not found (IndexOutOfBounds) where file is there and pass as full path (string). |
@Rain9333: I run into the same issue and was able to "fix" by downgrading Firefox from 55.0.2 to 54.0.1 -> see https://stackoverflow.com/questions/45742958/selenium-common-exceptions-webdriverexception-message-file-not-found-path-to/45753912#45753912 |
@udos yeah - if downgrading is OK. I also found another workaround until its proper resolved (I need the SendKeys for uploading a file). So just add this to the driver's options: |
How can I set I tried adding it as a profile preference: Not sure if I'm doing it right. |
@winterflags for file upload issues there is issue #858. So for the workaround in Firefox 55 see #858 (comment). |
@whimboo Just for clarity, I don't need to upload a file, but rather to open new tab and close tab via Python:
I supposed that JavaScript's |
You cannot use |
Currently I am facing issue with firefox Selenium Version = 3.6 Following is my Code , Issue i m facing browser gets open enter the URL the login but when I try to get the title and print browser is not executing any driver. class on browser page.
package auto_Procurement; import java.io.IOException; import org.junit.Test; public class procurement_auto {
} Logs 👍 1507199865260 geckodriver INFO geckodriver 0.19.0 |
@Fatimi please don't hi-jack this issue. If you have a problem please file a new issue and make sure to add a trace log. The above isn't one. Thanks. |
Firefox: 56.0 sendKeys is not working, just stuck there, even no any log and timeout. |
I'm going to lock this issue now given that the basic issue is fixed. Maybe related ones exist but those should be handled separately. Therefore if you still have problems please file a new issue with a trace level log included. A simple "me too" as given in the last comments here is sadly not that helpful to us. Thanks. |
Firefox Version
53.0 (32 bit)
Platform
Windows 10
Steps to reproduce -
I use Python with Selenium and Geckodriver 0.15 , yesterday it work all ok with Firefox 52.0.2,
from today firefox update and it now 53.0 and my code do an error when i try to push a text in a input
username.send_keys("text")
it do this error :
selenium.common.exceptions.WebDriverException: Message: Expected [object Undefined] undefined to be a string
The text was updated successfully, but these errors were encountered: