-
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
System.InvalidOperationException: TypeError: this.tabModal is null #1571
Comments
Could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines. |
Did you only run those lines or your whole test? It shouldn't be empty. |
I ran the whole test till failiure :) I've made it available to you (I hope !!): |
If you could open up (means make it public) the simple project, that would be great. Thanks |
@whimboo Done :) |
I have the exact same issue. For me it was possible to attach a trace-level log to the geckodriver. The output was:
|
Do you have a screenshot, so that I know which kind of dialog that is? Maybe you also have a minimized testcase which I could use to reproduce myself? |
Thanks @xTaZzGithub ! @whimboo here's the dialog: |
I'm using this site as a test site : 'https://jigsaw.w3.org/HTTP/Basic/' but it's the same for every other site that request a Basic Authentication. The test case is to open the page, perform the login and then perform any actions with the driver. |
That is not a Windows authentication prompt, but an HTTP Basic Auth prompt from Firefox. WebDriver doesn’t support basic auth yet (tracked in w3c/webdriver#385), so I don’t understand how this could’ve worked in in Firefox 66. @kwilson-93 Did something change in your test environment/application? |
hi @andreastt , I've just verified a test with v66.0.5 of Firefox and it is the same prompt shown above that is displayed. The issue does actually replicate, apologies but I made a mistake saying this version number. I'm unsure what the last version of Firefox was when the issue did not reproduce with, but it is somewhere between v65 & v66.0.5. The only difference in the whole scenario is the version of Firefox :) Definitely when using v67+ I can reproduce the issue. Note that we're handling the prompt inputs and confirmation by calling SendKeys.SendWait(), not a WebDriver action. @xTaZzGithub do you experience the same? What version of Firefox are you using when you cannot reproduce the issue? |
Without knowing what Since HTTP basic auth is not officially supported by WebDriver, I’m inclined to close this on the grounds that we don’t know what the correct behaviour should be. It’s unfortunate that there has been a regression with geckodriver, but again, without more data it’s near impossible to tell. |
This should have actually been fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1538782 for Firefox 68 which is currently in beta. |
hi @whimboo @xTaZzGithub, v68 of Firefox has now resolved this issue for me. Thanks for your help ! |
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. |
System
Issue
We have some automation tests which are failing with Firefox v67+ only (worked in previous versions e.g. v66.0.5).
The issue occurs when we browse to a page that displays a Windows Authentication prompt (note the issue does not occur if a Windows Authentication prompt is not displayed during the test).
We enter our credentials and hit enter (using SendKeys.SendWait()) which successfully logs in.
But any interaction with the driver object here after results in the following exception being thrown:
System.InvalidOperationException: TypeError: this.tabModal is null
The text was updated successfully, but these errors were encountered: