create python player that takes javascript and runs it via selenium