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
[🐛 Bug]: Lates Firefox browser version(v 102) is not support with selenium. #10840
Comments
@TJay90, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Hi, @TJay90. Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue. Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough. Reply to this issue when all information is provided, thank you. |
Can you create a brand new project that can create this issue? That error message suggests to me that Firefox was not able to start the port it needed on that machine to be able to work. |
Otherwise please also create a Trace log which would be helpful to figure out what's going on. Feel free to only provide an excerpt for it until this error message. Thanks. |
Please find the stack trace log here:
|
This is not a trace log that you posted. Please read the link that I provided again. Thanks. |
I can't reproduce this locally; everything is working for me with Firefox 102 on macOS with .NET 5 & Geckodriver 0.31 |
can you paste your code here or try the below code FirefoxDriver driver = null;
|
@vitalisc please also create a Trace log which would be helpful to figure out what's going on. Feel free to only provide an excerpt for it until this error message. Thanks. |
The options code needs to be:
|
Hello, |
Yes, we are missing ways on how to reproduce this and no more information is being provided. So, a trace log as mentioned above is needed. |
I'm trying to enable the trace from the link you gave. But I have minimal info, is this OK ? Error: NS_BINDING_ABORTED |
I closed this because the provided code worked when I updated the Things we need to reopen this issue:
|
Hi there, I seem to be able to repro this - regardless of the The below (at-least for me, will return a similar issue to the above) - environment versions noted below import logging
from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from selenium.common.exceptions import WebDriverException
options = Options()
options.headless = True
options.set_preference('dom.max_script_run_time', 15)
options.add_argument("start-maximized")
options.log.level = "trace"
options.set_preference('network.http.timeout', 20000)
try:
driver = webdriver.Firefox(options=options)
driver.get('https://twitter.com')
logging.debug(driver.page_source)
source = driver.execute_script("return document.getElementsByTagName('html')[0].innerHTML")
except WebDriverException as e:
logging.critical(str(e))
exit()
driver.quit()
print(source)
geckodriver.log trace output, click-expand
Any thoughts on what might have gone wrong (or workarounds!) greatly appreciated |
Note that Firefox doesn't have a As workaround remove For the underlying problem I filed https://bugzilla.mozilla.org/show_bug.cgi?id=1779723 to get it fixed in Firefox. I think that we can close this issue given that it's not Selenium which misbehaves here. |
Thanks for letting us know, @whimboo! |
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. |
What happened?
When I try to run my selenium Test cases with the lates Firefox browser version (102), getting NS_Binding_Aborted (SessionNotCreated) Error.
When I trigger the test Browser opens and closed and getting the above error.
But when I run the test on downgraded Firefox browser (v101), tests are running successfully. So Im assuming Latest Firefox browser is not support with Selenium.
How can we reproduce the issue?
I'm unable to share any repo files since this is my office work related. Only way that you could reproduce, try to run a selenium C# with the lates gecko driver and the lates Firefox browser.
Relevant log output
Operating System
macOS
Selenium version
.Net 5.0
What are the browser(s) and version(s) where you see this issue?
Firefox 102
What are the browser driver(s) and version(s) where you see this issue?
Gecko driver 0.31.0.1
Are you using Selenium Grid?
no
The text was updated successfully, but these errors were encountered: