Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MechanicalSoup as a front-end for Selenium ? #345

Open
moy opened this issue Nov 27, 2020 · 0 comments
Open

MechanicalSoup as a front-end for Selenium ? #345

moy opened this issue Nov 27, 2020 · 0 comments
Labels

Comments

@moy
Copy link
Collaborator

moy commented Nov 27, 2020

We're having a lot of questions about JavaScript, and one rather frustrating aspect of MechanicalSoup is that users may start using it, write a lot of code, and then realize that they need JavaScript for a tiny bit of code. Then the suggestion to use Selenium probably sounds like a betrayal to users, because they have to rewrite all their code.

I'm not suggesting that we should write our own JavaScript interpreter, but implementing a Selenium back-end for MechanicalSoup may actually be rather easy to do. The benefit for completely new users compared to using Selenium directly is probably weak, but this could offer a nice migration path for users who need to migrate from MechanicalSoup to Selenium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants