Need selenium webdriver / any from browser

Request a package to be made here. Make sure you have searched before requesting.

Need selenium webdriver / any from browser

Postby obywatel3vity » Fri May 10, 2013 8:19 pm

Need to run one of these/below browsers on RPi (armv6h). Selenium webdriver will compute with jquery on various websites. What is more it will be done headles with xvfb.

It's working now on my Netbook with i686 architecture but i need to run on my RPi (armv6h) now.


Firefox
or
Iceweasel
or
Chrome and chromedriver - https://aur.archlinux.org/packages/chromedriver/
or
Chromuim and chromedriver - https://aur.archlinux.org/packages/chromedriver/

I found

http://rsync.labby.co.uk/raspberrypi/ra ... iceweasel/

and

https://github.com/tmpdo/ac100-binary || but there is armv7h only :/

chromedriver will compile to armv6h without stress if a have Chrome armv6h or Chromium armv6h as satisfied dependency.

Any ideas how to adopt it to Arch Linux ARM?
deb2targz is not working in this example, lacking metadata and what is more I don't know if only iceweasel and xulrunner is enought to run browser headless.
obywatel3vity
 
Posts: 14
Joined: Fri May 10, 2013 8:02 pm

Re: Need selenium webdriver / any from browser

Postby moonman » Sat May 11, 2013 7:46 am

You can try to compile chromium for armv6. I tried to compile it for armv5 a while ago and I did, but the resulted binary wouldn't run. Did not try in on armv6 though. viewtopic.php?f=18&t=4878&hilit=chromium+armv5&start=10

Firefox was a complete disaster trying to compile it on anything other than armv7 or x86 with >=4GB ram
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Need selenium webdriver / any from browser

Postby obywatel3vity » Fri May 17, 2013 5:26 pm

Hi I prepared this tarball:

http://db.tt/b5DREWyl

using this binary:

http://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?path=Linux_ARM_Cross-Compile/200819/

but have such warnings under my RPi:
$this->bbcode_second_pass_code('', '
-> Kompresuję strony man oraz info...
-> Wyrzucam niepotrzebne symbole z binariów i bibliotek
BFD: ./usr/lib/chromium/stZypcZe: section .note.NaCl.ABI.arm lma 0x3ef00114 adjusted to 0x3f240114
BFD: ./usr/lib/chromium/stZypcZe: section .rodata lma 0x3ef00130 adjusted to 0x3f24012c
BFD: ./usr/lib/chromium/stZypcZe: section .eh_frame_hdr lma 0x3ef35ea0 adjusted to 0x3f275e9c
BFD: ./usr/lib/chromium/stZypcZe: section .eh_frame lma 0x3ef498ac adjusted to 0x3f2898a8
BFD: ./usr/lib/chromium/stZypcZe: section .gcc_except_table lma 0x3ef931b4 adjusted to 0x3f2d31b0
BFD: ./usr/lib/chromium/stZypcZe: section `.gcc_except_table' can't be allocated in segment 1
LOAD: .note.NaCl.ABI.arm .rodata .eh_frame_hdr .eh_frame .gcc_except_table
BFD: ./usr/lib/chromium/stgXTh3g: section `.reserve' can't be allocated in segment 2
LOAD: .reserve
==> Creating package "chromium-browser-bin-rpi"...
-> Generuję plik .PKGINFO...
-> Dodawanie pliku install...
-> Generating .MTREE file...
-> Kompresuję pakiet...
==> Skończyłem tworzenie: chromium-browser-bin-rpi 200824-1 (pią, 17 maj 2013, 19:11:25 CEST)
')

After

pacman -U chromium-browser-bin-rpi

i tried tu run:

chromium --version

but it kills me:

Wrong instruction (core dumped)

Any ideas? Wrong binary?
obywatel3vity
 
Posts: 14
Joined: Fri May 10, 2013 8:02 pm

Re: Need selenium webdriver / any from browser

Postby obywatel3vity » Sat Jul 06, 2013 1:44 pm

We have chromium armv6h in repos yeah! :)

Now it's time for chromedriver.
http://code.google.com/p/chromedriver/w ... butingCode

there is a 32/64 binary in AUR: https://aur.archlinux.org/packages/chromedriver/

Any help?
obywatel3vity
 
Posts: 14
Joined: Fri May 10, 2013 8:02 pm

Re: Need selenium webdriver / any from browser

Postby WarheadsSE » Sat Jul 06, 2013 2:43 pm

Try compiling it, and then move forward?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Need selenium webdriver / any from browser

Postby obywatel3vity » Sat Jul 06, 2013 3:57 pm

I can't clone into git :/ my skil is too poor xD I will try help on irc.
obywatel3vity
 
Posts: 14
Joined: Fri May 10, 2013 8:02 pm

Re: Need selenium webdriver / any from browser

Postby pepedog » Sat Jul 06, 2013 5:40 pm

Not git
wget https://aur.archlinux.org/packages/ch/c ... ver.tar.gz
tar xf chromedriver.tar.gz
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Need selenium webdriver / any from browser

Postby obywatel3vity » Sat Jul 06, 2013 7:45 pm

And?

There is no arm binary under https://code.google.com/p/chromedriver/downloads/list
as i wrote above.

I can't clone all chromium 1,7 GB git into my RPi so as to compile chromedriver from inside directory.
obywatel3vity
 
Posts: 14
Joined: Fri May 10, 2013 8:02 pm

Re: Need selenium webdriver / any from browser

Postby obywatel3vity » Wed Jul 31, 2013 4:05 pm

Firefox should be used so as to run selenium scenarios on RPI. Chromium/Chrome with chromedriver are unstable with selenium driven even on i686 - for more advanced tasks.

Still need FF or stable support selenium with other armv6 repos available browser.
obywatel3vity
 
Posts: 14
Joined: Fri May 10, 2013 8:02 pm


Return to Package Requests

Who is online

Users browsing this forum: No registered users and 2 guests