CFSelenium icon indicating copy to clipboard operation
CFSelenium copied to clipboard

Pathing issues

Open Grudwo opened this issue 3 years ago • 2 comments

I've installed the jar here: E:\ColdFusion2018\Instance\lib\CFSelenium-master\lib\selenium-server-standalone-3.4.0.jar

In my application.cfc I have this line: this.javaSettings = { loadPaths = [ 'E:/ColdFusion2018/Instance/lib/CFSelenium-master/lib/selenium-server-standalone-3.4.0.jar' ], loadColdFusionClassPath = true, reloadOnChange = true };

The application is 2 directories down from the instance root: /Util/Selenium/test.cfc

Restart server and run the code: webdriver = "E:/ColdFusion2018/Instance/lib/CFSelenium-master/webdrivers/geckodriver-v0.16.1-win64.exe"; selenium = new cfselenium.SeleniumWebDriver( driverType="firefox", webdriver=webdriver );

ColdFusion says Could not find the ColdFusion component or interface cfselenium.SeleniumWebDriver.

What am I missing?

Grudwo avatar Mar 05 '21 02:03 Grudwo

Do you have a CF Mapping to the cfselenium directory where the SeleniumWebDriver.cfc lives?

gavinbaumanis avatar Apr 13 '22 05:04 gavinbaumanis