Tech C**P
15 subscribers
161 photos
9 videos
59 files
304 links
مدرس و برنامه نویس پایتون و لینوکس @alirezastack
Download Telegram
There is a mechanism in firefox that you can record some user activities on your site in order to test it from 0 to hero! Katalon Recorder (Selenium IDE for Firefox 55+) is an add-on that can be used to record tests on firefox and export it into a file. You can use these test cases to play automated test cases on your server.

To download and install it on your browser head over to link below:

- https://addons.mozilla.org/en-US/firefox/addon/katalon-automation-record/

#firefox #katalon #selenium #test #test_automation
In case you want to run Selenium tests you need to run xvfb to have X virtual framebuffer (in-memory display server) you need to install it and then have script like below to run your Selenium test:

#!/bin/bash
Xvfb :10 -ac &
xvfb_pid=$!
export DISPLAY=:10
python -u test_login.py & >> /var/log/test_login.log
kill ${xvfb_pid}

In case you need to run browser in headless mode you need to install xvfb

#selenium #xvfb