Closed FabioEight closed 1 year ago
Hi @FabioEight,
At least, the url you are giving is wrong :
http://192.168.1.30:3000/webdriver/
(the same you would provide to a selenium client)I did some test with Browserless/chrome. Can you tell me which platform you are using for your docker? (Linux/MacOs/Windows). If it is MacOs, there is an issue in Browserless with the webdriver on ARM platform, in the other case I would like to have the docker logs as well.
Best regards,
For the last part about the crash, I'm not able to replicate it. Could you give me your version of node-red-contrib-simple-webdriver.
Thanks,
Hi @FabioEight,
At least, the url you are giving is wrong :
- You should provide the following url :
http://192.168.1.30:3000/webdriver/
(the same you would provide to a selenium client)I did some test with Browserless/chrome. Can you tell me which platform you are using for your docker? (Linux/MacOs/Windows). If it is MacOs, there is an issue in Browserless with the webdriver on ARM platform, in the other case I would like to have the docker logs as well.
Best regards,
I didn't know about the ending webdriver/ as my current config works without any subpath! I'm testing the flow and seems to be working!
For the last part about the crash, I'm not able to replicate it. Could you give me your version of node-red-contrib-simple-webdriver.
Thanks,
About this, I'm using the latest version. I'll test more and try to replicate!
Thank you!
If you can give me a node flow which generate the error it would be great.
Best regards,
Hello Simon,
First of all thanks for your work! I found the addon browserless-chrome from @alexbelgium repo: https://github.com/alexbelgium/hassio-addons/tree/master/browserless_chrome As far as I understood, this addon should start a webdriver server, basically in a container in HAOS. This is really interesting as a secondary/external webdriver would be no longer required.
I tried to start a new webdriver session following the quick start steps (https://hub.docker.com/r/browserless/chrome/#webdriver) with the following code:
But the NodeRed open browser node does not open any session:![image](https://user-images.githubusercontent.com/12196008/209836984-ebfbcee5-98cb-417d-813f-e0c7e39278b9.png)
Do you think it's possible to run this flow all in one host sine browserless-chrome provides the webdriver? Otherwise, another way to do so might be to install Portainer (same repo) and add chromedriver, but this way seem cleaner..
PS: I noticed that if I wrongly the webdriver address (ex. forgetting the http), makes Node-Red crashing: