Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to setup a CI server to run selenium tests?

CI run selenium server Setup tests
0
Posted

How to setup a CI server to run selenium tests?

0

• INSTALL packages (yum) • firefox.x86_64 1.5.0.12-0.8.el4 installed • xorg-x11-Xvfb.x86_64 6.8.2-1.EL.33 installed • Edit /etc/inittab set default run level to 3 /etc/inittab id:3:initdefault: • Add startup script for Xfvb (in /etc/init.d/Xvfb and linked to /etc/rc3.d/S99Xvfb) Xvfb :1 -screen 0 1024x768x24 > /tmp/Xvfb.log 2>&1 & • Under the user that will be running selenium tests add ‘export DISPLAY=:1.0’ to $HOME/.bash_profile. • When pointing selenium to your browser use the following string “*firefox /usr/lib64/firefox-1.5.0.12/firefox-bin”. • To see sample selenium targets look at this build.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123