简体   繁体   English

如何使用 Atata 进行基本的自动浏览器检测,然后自动设置驱动程序? 我正在阅读文档,但运气不佳

[英]How to use Atata for just a basic auto browser detect and then auto driver setup? I'm reading the documentation and not having much luck making sense

Does anyone have any experience using atata at all?有没有人有任何使用atata的经验? Someone recommended I use it for setting up a chrome driver automatically.有人建议我用它来自动设置 chrome 驱动程序。 I'm looking for the most basic way to detect what chrome version the user has and then set up the driver according to their local installed browser version when the program runs.我正在寻找最基本的方法来检测用户拥有的 chrome 版本,然后在程序运行时根据他们本地安装的浏览器版本设置驱动程序。 Any help would be appreciated.任何帮助,将不胜感激。 Question is in the title.问题在标题中。

Here are the links to it:以下是它的链接:

https://github.com/atata-framework/atata-webdriversetup https://atata.io/ https://github.com/atata-framework/atata-webdriversetup https://atata.io/

According to documentation Set Up Version Corresponding to Locally Installed Browser Version section it is:根据文档设置版本对应于本地安装的浏览器版本部分,它是:

DriverSetup.AutoSetUp(BrowserNames.Chrome);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM