How to run Selenium 2.0 RC -htmlSuite using WebDriver?

I tried Selenium 2.0 (the documentation says this with WebDriver):

java -jar selenium-server-standalone-2.0a1.jar -htmlSuite "*firefox" ...

but it seems that the WebDriver backend is not used (especially since I did not install the Firefox plugin)? All Selenium 2.0 documentation uses the Java interface, but it seems like using the classic Selenium server using the HTML package?

I did not find the documentation on how to configure things for htmlSuite, but using the "headless" (HtmlUnit) version is completely fine (I don't need Firefox).

Edit: Selenium says RemoteWebDriver instances should connect to: http://...:4444/wd/hubat startup ... Any idea what to do and how?

Edit 2: Overwrite Java test with WebDriverBackedSelenium. So, problems arise because htmlSuite is not implemented using WebDriverBackedSelenium?

+3
source share
2 answers

From what I found in the code, Selenium RC and WebDriver are not yet combined. Maybe I'm wrong, but I think the only way to use WebDriverBackedSelenium is directly in the Java test harness. As far as I can tell, if you use a language other than Java to control Selenium RC, you are SOL.

+1
source

I assume that WebDriverBackedSelenium is not yet supported and continues to write my system / integration tests for GWT in Java instead of HTML.

0
source

Source: https://habr.com/ru/post/1731171/


All Articles