Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: Local edge driver session - session not created exception. #1610

Closed
publicgitsmu opened this issue Mar 18, 2024 · 2 comments
Closed

Comments

@publicgitsmu
Copy link

What happened?

Src Code:
from selenium import webdriver
from selenium.webdriver.common.by import By
driver = webdriver.Edge()
driver.get('https://bing.com/')
driver.quit()

Root Cause:
This is observed, that setting below Registry entry via the policy changes
Computer\HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge\RemoteDebuggingAllowed is set to 0

When the above flag is enabled, there is no session error.
But the registries are not supposed to be modified. Can you help with alternatives such that which allows to establish the session without changing the above registry entry.

Log Message:
[1710521384.317][INFO]: Failed to connect to msedge. Attempting to kill it.
[1710521384.672][INFO]: [828764adfde14499aea3516269fbaf26] RESPONSE InitSession ERROR session not created: DevToolsActivePort file doesn't exist

What browsers and operating systems are you seeing the problem on?

OS : Windows 11
Browser : MS edge

@publicgitsmu publicgitsmu added bug Something isn't working needs-triaging labels Mar 18, 2024
Copy link
Contributor

@publicgitsmu, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Mar 18, 2024

Please report it at https://github.com/MicrosoftEdge/EdgeWebDriver

@diemol diemol closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 2024
@diemol diemol removed bug Something isn't working needs-triaging labels Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants