I want to get the data in the redbox which comes after shadow-root, how do I got about doing this. I have tried using xpaths and css_selectors without any luck.
from selenium import webdriver
import time
driver = driver = webdriver.Firefox(executable_path= "C:\Program Files (x86)\geckodriver.exe")
driver.get('https://betfury.io/sport-betting')
time.sleep(5)
driver.find_element_by_xpath('//button[@class="popup-btn-close"]').click() #close pop_up
driver.find_element_by_xpath('//div[@id="bettech"]') # this works
driver.find_element_by_xpath('//div[@class="bt3306"]') # this does not work
Any advice would be much appreciated!
