Comments (10)
I wonder if we should have support for multiple webdrivers (versions) for all browsers? I feel like keeping all these drivers up to date over time is a fair amount of work.
from webtools.
I was wondering if it is possible to check the version of browser/OS first and directly download the corresponding webdriver automatically. Then we don't need to keep these driver at all in the release, we let the users download them when they load the package instead.
from webtools.
That might work ... But then you need to have knowledge of all the download locations for ChromeDriver, GeckoDriver, and EdgeDriver ...
from webtools.
I think this is the canonical place for the ChromeDriver binaries: https://chromedriver.storage.googleapis.com/index.html
from webtools.
And for the GeckoDriver binaries:
https://github.com/mozilla/geckodriver/releases
from webtools.
And EdgeDriver binaries:
https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
from webtools.
This code would get all the EdgeDriver binaries:
In[8]:= links =
Import["https://developer.microsoft.com/en-us/microsoft-edge/tools/\
webdriver/", "Hyperlinks"];
Select[links, StringEndsQ[#, "MicrosoftWebDriver.exe"] &]
Out[9]= {"https://download.microsoft.com/download/D/4/1/D417998A-58EE-\
4EFE-A7CC-39EF9E020768/MicrosoftWebDriver.exe", \
"https://download.microsoft.com/download/1/4/1/14156DA0-D40F-460A-\
B14D-1B264CA081A5/MicrosoftWebDriver.exe", \
"https://download.microsoft.com/download/3/4/2/342316D7-EBE0-4F10-\
ABA2-AE8E0CDF36DD/MicrosoftWebDriver.exe", \
"https://download.microsoft.com/download/3/2/D/32D3E464-F2EF-490F-\
841B-05D53C848D15/MicrosoftWebDriver.exe"}
from webtools.
Yup, I download my driver from these sites as well, but another hard problem is to know about OS version and Browser version and how to determine the corresponding version of driver......
from webtools.
Maybe InstallWebTools
should offer an option to point to a specific webdriver binary on the web. Not perfect, but it would let a user override the default one (which should be the latest one):
InstallWebTools[... , "WebDriverLocation" -> url ]
from webtools.
Yup, that make sense!
from webtools.
Related Issues (12)
- Import Source HOT 2
- Unable to get CaptureWebPage[] function to work HOT 14
- Get specified HTML element HOT 8
- WebUnit crash after opening certain webpages HOT 3
- Download Image using WebUnit HOT 3
- A tricky solution to Chinese directory names HOT 3
- Suggestion: verify connection to browser after InstallWebUnit[] HOT 5
- StartWebSession not working? HOT 3
- Misspelling in `QueryMethod` and `QueryValue`?
- How to catch the full cookies?
- Starting Chrome using StartExternalSession with SessionOptions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtools.