Open ravikumar2000 opened 4 years ago
Seems like you just need to have the 'chromedriver' executable in your $PATH. Have you installed chromedriver @ravikumar2000?
Hi, We tried with chrome driver and facing issues like this when we run the curl -bash-4.2$ curl http://localhost:9156/probe?target=https://google.com probe_duration_seconds 0.031578 probe_success 0
-bash-4.2$ ./webdriver_exporter INFO[0000] Starting webdriver_exporter (version=0.0.2, branch=, revision=) sour ce=main.go:50 INFO[0000] Build context (go=go1.6.3, user=, date=) source=main.go:51 INFO[0000] Starting webdriver source=main.go:69 INFO[0000] Listening on localhost:9156 source=main.go:76 ERRO[0272] failed to retrieve URL: unexpected response: {"sessionId":"8b2eebfced 6859a6d36d1c49c5a4ee99","status":6,"value":{"message":"no such session\n (Drive r info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),plat form=Linux 4.14.35-1911.el7uek.x86_64 x86_64)"}} source=probe.go:71
Hmm, at least now you appear to have the exporter working. I'd suggest opening a separate issue for this
We are getting the below issues while building NFO[0000] Starting webdriver_exporter (version=0.0.2, branch=, revision=) source=main.go:50 INFO[0000] Build context (go=go1.6.3, user=, date=) source=main.go:51 INFO[0000] Starting webdriver source=main.go:69 FATA[0000] failed to start webdriver: failed to start service: failed to run command: exec: "chromedriver": executable file not found in $PATH source=main.go:72
Appreciate your help on this.