spring.spring-selenium-extension-hub.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:ctx="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <description>Robot Selenium Keywords</description> <import resource="classpath:spring/spring-selenium-hub.xml"/> <bean id="extensionHelper" class="com.jspringbot.selenium.extension.SeleniumExtensionHelper"> <constructor-arg ref="webdriver"/> </bean> <!-- Scan components --> <ctx:component-scan base-package="com.jspringbot.selenium.extension.keyword"/> <ctx:annotation-config/> </beans>