How to install PhantomJS for use with Python Selenium on the Raspberry Pi?

后端 未结 3 1329
别跟我提以往
别跟我提以往 2021-02-08 17:22

I want to run a Python script using Selenium WebDriver with PhantomJS as a headless browser on my Raspberry Pi running Raspbi

3条回答
  •  情书的邮戳
    2021-02-08 18:11

    Download this phantomjs file https://drive.google.com/open?id=1x063Krw6mZkRYW4K238a3EyRdklj5Evj

    Replace to needed folder.

    Give 777 chmod: chmod 777 phantomjs

    And try to use.

    For Grafana - phantomjs file must be in a folder: /usr/share/grafana/tools/phantomjs/.

    This binary file work to me on Banana pi M3 Debian 9. Architecture: arm armv7l. Kernel 4.20.7-sunxi

提交回复
热议问题