Итак, я прочитал все документы о добавлении хромирования на мой путь и следил за всеми ними. Я нахожусь на Mac с selenium2, maven, eclipse и всеми последними драйверами:
Error:
The path to the chromedriver executable must be set by the webdriver.chrome.driver system property;
Я помещаю chromedriver в папку "Мои приложения", и мой путь выглядит следующим образом:
echo $PATH
/Users/tcerrato/selenium/BS_Sel_Project/auto_helper/test_scripts:/usr/local/apache-maven-2.2.1//bin:/Users/oracle/oracle/product/10.2.0/db_1/bin:/opt/local/bin:/opt/local/sbin:/Applications:
Что мне не хватает? Я вообще не могу работать с драйвером хрома. Любая помощь была бы замечательной. Я сейчас пытаюсь сыграть случайные вещи.
Вот мой раздел pom на селен:
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium</artifactId>
<version>2.0rc2</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>2.6.0</version>
</dependency>