java - Execute war application with selenium from glassfish -


i'm trying run web application uses selenium libraries open web page in firefox. war application deployed in glassfish 4.1 in centos 7.

however, browser not open firefox or error observed in log. attaching java code , log.

java code:

`system.setproperty("webdriver.gecko.driver", "/usr/local/bin/geckodriver"); system.out.println("pasa gecko driver"); driver = new firefoxdriver(); system.out.println("pasa firefox driver"); driver.manage().timeouts().pageloadtimeout(20, timeunit.seconds); // open browser , go javatutorial network website driver.get("https://muisca.dian.gov.co/webrutmuisca/defconsultaestadorut.faces"); system.out.println("pasa pagina");` 

log:

`inicia webintegration ingresa abrirsesionnavegador pasa gecko driver` 

the error displayed in line driver = new firefoxdriver ();

however, error in log not appear.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -