I am trying to set up and use HTMLUnit driver in Python 3. I believe I have the server running (v3.7.0) and believe the code should work based looking up other questions on here. I believe that the remote server uses port 4444 but my ISP locks that port down (along with basically every other port). Currently when I run the code I get a connection refused. Is this to do with the port being closed? Can I change the port to 8080 (which is open)?
from selenium import webdriver
driver = webdriver.Remote(desired_capabilities=webdriver.DesiredCapabilities.HTMLUNITWITHJS)
driver.get('http://www.google.com')
Current output:
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>