I am new to python/selenium and i try to do a webscrapper.I am trying to get the names of the teams out of this. This is the code I am using:
url_getsbet = 'https://online.getsbet.ro/sports'
driver = webdriver.Chrome()
driver.get(url_getsbet)
matches_sb = WebDriverWait(driver, 10).until(EC.presence_of_all_elements_located((By.CSS_SELECTOR, "span.Details__Participants")))
print(matches_sb)
and this is the html where the element is located
<span class="Details__Group">
<span class="Details__Participants">
<span class="Details__Participant Details__Participant--Home">
<span class="Details__ParticipantName">Benfica</span>
</span>
<span class="Details__Participant Details__Participant--Away">
<span class="Details__ParticipantName">Club Brugge</span>
</span>
</span>
<div class="Score Score--1"></div>
</span>
And it causes this error: line 95, in until raise TimeoutException(message, screen, stacktrace).
I don't realise what's causing this error.
Thank you and you help would be much appreciated!