simonradier / node-red-contrib-selenium-wd2

Selenium nodes for Node-Red
Apache License 2.0
9 stars 7 forks source link

Raspberry pi #7

Closed Stefananderssonster closed 3 years ago

Stefananderssonster commented 3 years ago

Can this node package be used with raspberry pi?

simonradier commented 3 years ago

Hi Stefan,

Yes it could work on a raspberry. You may need to require to launch the browser in Headless mode. Do you use the raspberry as a desktop or as a server (only through SSH).

Simon,

Stefananderssonster commented 3 years ago

Hello Simon,

My intention is to use the raspberry pi headless and extract some data from webpages that the http request node can't handle. I thought this could be a easy way since I'm not a computer genius, I downloaded the wd2 nodes and installed webdriver-manager but I think the chrome driver is giving me problems.

Can't open an instance of chrome SessionNotCreatedError: Unable to create new service: ChromeDriverServiceBuild info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'System info: host: 'iotcontroller', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'arm', os.version: '4.14.79-v7+', java.version: '1.8.0_65'Driver info: driver.version: unknown

//Stefan

Den mån 7 dec. 2020 kl 12:34 skrev Critik notifications@github.com:

Hi Stefan,

Yes it could work on a raspberry. You may need to require to launch the browser in Headless mode. Do you use the raspberry as a desktop or as a server (only through SSH).

Simon,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/simonradier/node-red-contrib-selenium-wd2/issues/7#issuecomment-739862270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKSJ5GCE4QEUXQ6OJPZZXZTSTS4WBANCNFSM4UMMXVTQ .

simonradier commented 3 years ago

You have to install Chrome on your raspberry as well. Let me know if it works after that :)