db.py, selenium workaround