[python] How do I load the HtmlUnit webdriver?

720 views
Skip to first unread message

Chris Bergstresser

unread,
Nov 2, 2010, 4:23:54 PM11/2/10
to Selenium Users
I'm using the Selenium python bindings. "from
selenium.firefox.webdriver import WebDriver" works and loads the
Firefox driver. "from selenium.chrome.webdriver import WebDriver"
works and loads the Chrome driver. Why doesn't "from
selenium.htmlunit.webdriver import WebDriver" work?

Jakob Gillich

unread,
Sep 16, 2011, 9:06:05 AM9/16/11
to seleniu...@googlegroups.com
*push*

I've opened a new Post at this topic, but it cant find it, maybe it didn't get saved. Whatever.

But it seems that this problem does still exist. Is there no python bindings for WebDriver?

Simon Stewart

unread,
Sep 25, 2011, 9:23:31 PM9/25/11
to seleniu...@googlegroups.com
The HtmlUnit driver is only available if you're using the java version
of webdriver in some way. Since you're using python, the best way to
do this is via the remote webdriver using the standalone selenium
server.

Regards,

Simon

> --
> You received this message because you are subscribed to the Google Groups
> "Selenium Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/selenium-users/-/xIg6WhdpIAgJ.
> To post to this group, send email to seleniu...@googlegroups.com.
> To unsubscribe from this group, send email to
> selenium-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/selenium-users?hl=en.
>

Reply all
Reply to author
Forward
0 new messages