Chrome driver for Selenium stuck in grey screen on bet365 site

北战南征 提交于 2020-07-31 04:17:02

问题


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/");


回答1:


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:\WebDrivers\chromedriver.exe')
    driver.get('https://www.bet365.it/')
    
  • Browser Snapshot:


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 google-chrome based browsing context is getting detected and the navigation is blocked.



来源:https://stackoverflow.com/questions/62794511/chrome-driver-for-selenium-stuck-in-grey-screen-on-bet365-site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!