I'm trying to access the website using FirefoxDriver but I'm getting a not a valid url exception
I also tried with HtmlUnitDriver there the website title come back as null
I tied the old and new website on the below
System.setProperty("webdriver.gecko.driver","C:\\Users\\Family\\path to firefox driver\\geckodriver.exe");
//WebDriver driver = HtmlUnitDriver();
WebDriver driver = new FirefoxDriver();
driver.manage().window().maximize();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
//this is an old website
//driver.get("https://www.hollywoodbets.net");
//this is a new website
driver.get("https://new.hollywoodbets.net");
System.out.println("WEBSITE TITTLE " + driver.getTitle());
The URL you are trying to open blocks access to it for Chrome too.
I tried to open it with regular Chrome browser on my PC even without Selenium.
It presents the following message:
Occurs both for
https://new.hollywoodbets.netand forhttps://www.hollywoodbets.net. The former link is actually redirecting to the first one.