adds before script for selenium