2

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.

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.