#!/bin/bash
echo "Installing basic software related with robotFramework"
source /opt/venv/bin/activate; 
pip install --upgrade pip
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
source /root/.bashrc
nvm install node
yes|npx playwright install-deps
pip install -r $1
rfbrowser clean-node
rfbrowser init --skip-browsers
npx playwright install
npx playwright install-deps
echo "Robot framework installed"
