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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with setup Microsoft Edge WebDriver #168

Open
Muthres-1 opened this issue Sep 10, 2024 · 0 comments
Open

problem with setup Microsoft Edge WebDriver #168

Muthres-1 opened this issue Sep 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Muthres-1
Copy link

from selenium import webdriver
from selenium.webdriver.edge.service import Service
from selenium.common.exceptions import WebDriverException

Path to the Edge WebDriver executable

edge_service = Service(executable_path="C:\Program Files (x86)\Driver\msedgedriver.exe")

try:
# Initialize the Edge WebDriver
driver = webdriver.Edge(service=edge_service)

# Open the website
driver.get("https://www.business-standard.com/markets/stock-companies-list")

# Print the title of the webpage
print(driver.title)

except WebDriverException as e:
print(f"WebDriver error: {e}")
finally:
# Ensure WebDriver is closed properly
driver.quit()

When I trying to run the above code the following bug I am finding please help me
PS C:\Users\hp\vscode\python And LIbraries> python -u "c:\Users\hp\vscode\python And LIbraries\a.py"

DevTools listening on ws://127.0.0.1:49226/devtools/browser/d90cfc01-a867-4a69-a7aa-a4bc5e506916
[23144:22304:0911/003203.928:ERROR:ssl_client_socket_impl.cc(1048)] handshake failed; returned -1, SSL error code 1, net_error -101
[23144:22304:0911/003203.976:ERROR:ssl_client_socket_impl.cc(1048)] handshake failed; returned -1, SSL error code 1, net_error -101
All Listed Companies List in NSE/BSE - India Stock Market

@Muthres-1 Muthres-1 added the bug Something isn't working label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant