#๐Ÿ”’ Error on Selenium

6 messages ยท Page 1 of 1 (latest)

long hill
#

DevTools listening on ws://127.0.0.1:54828/devtools/browser/94272515-5ffc-4938-93f2-b984714814a7
Ocorreu um erro: Message:
Stacktrace:
GetHandleVerifier [0x00007FF68FA19642+30946]
(No symbol) [0x00007FF68F9CE3D9]
(No symbol) [0x00007FF68F8C6FDA]
(No symbol) [0x00007FF68F91822C]
(No symbol) [0x00007FF68F91850C]
(No symbol) [0x00007FF68F95DCB7]
(No symbol) [0x00007FF68F93CAAF]
(No symbol) [0x00007FF68F95B041]
(No symbol) [0x00007FF68F93C813]
(No symbol) [0x00007FF68F90A6E5]
(No symbol) [0x00007FF68F90B021]
GetHandleVerifier [0x00007FF68FB4F84D+1301229]
GetHandleVerifier [0x00007FF68FB5BDC7+1351783]
GetHandleVerifier [0x00007FF68FB52A13+1313971]
GetHandleVerifier [0x00007FF68FA4DD16+245686]
(No symbol) [0x00007FF68F9D759F]
(No symbol) [0x00007FF68F9D3814]
(No symbol) [0x00007FF68F9D39A2]
(No symbol) [0x00007FF68F9CA3FF]
BaseThreadInitThunk [0x00007FF974457374+20]
RtlUserThreadStart [0x00007FF9763BCC91+33]

olive talonBOT
#

@long hill

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

long hill
#
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

# open chrome
driver = webdriver.Chrome()

# Open the stite
url = 'URL' # Replace with the desired URL
driver.get(url)

try:
    
    wait = WebDriverWait(driver, 10)
    message_element = wait.until(EC.presence_of_element_located((By.CSS_SELECTOR, 'message-css-selector'))) # container message

    # found it
    if message_element:
        message_text = message_element.text
        print(f"Message found: {message_text}")
    else:
        print("Message not found.")
except Exception as e:
    print(f"An error occurred: {e}")
#

i cant even open normally and after some secs it close with a stackerror

olive talonBOT
#

@long hill

Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.