Reading the answers on here has led me to understand that I need to connect to the Selenium Java server because HTMLUnit is implemented in java. I don't really understand what this means and would appreciate if someone would point me in the right direction.
Asked
Active
Viewed 3,626 times
1 Answers
0
use the selenium jar below 2.52 which come inbuilt in the selenium
from selenium import webdriver
driver = webdriver.Remote(
desired_capabilities=webdriver.DesiredCapabilities.HTMLUNIT)
driver.get('https://stackoverflow.com/')
above 2.53 you have to download the HTMLdriver
separately
For more information visit this Link

iamsankalp89
- 4,607
- 2
- 15
- 36