Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
597 views
in Technique[技术] by (71.8m points)

c# - Chrome driver for Selenium stuck in grey screen on bet365 site

I’ve got grey screen when was trying to open bet365 site using Chrome driver and Selenium.

var driver = new ChromeDriver();
driver.Navigate().GoToUrl("https://www.bet365.it/");

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I executed your usecase with a couple of tweaks and faced the same consequences. Here are the execution details:

  • Code Block [Python]:

    from selenium import webdriver
    
    options = webdriver.ChromeOptions() 
    options.add_argument("start-maximized")
    options.add_experimental_option("excludeSwitches", ["enable-automation"])
    options.add_experimental_option('useAutomationExtension', False)
    driver = webdriver.Chrome(options=options, executable_path=r'C:WebDriverschromedriver.exe')
    driver.get('https://www.bet365.it/')
    
  • Browser Snapshot:

bet365


Deep Dive

When I checked the Terms and conditions it is clearly mentioned that:

  1. Other

6.1 bet365 actively monitors traffic to and from its Site. Bet365 reserves the right to block access to the Site, at its discretion, should it encounter any evidence of automated or robotized game activity.


Conclusion

It seems Selenium driven ChromeDriver initiated based browsing context is getting detected and the navigation is blocked.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...