start rewrite using selenium