Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在单击按钮时将数据从表导出到 Excel 工作表,并使用 C# 中的 selenium webdriver 读取 Excel 工作表中的数据。
有什么解决办法吗?如果有任何方法,那么请在这里写完整的代码。
Selenium cannot interact with Excel spreadsheets, it is a browser automation tool that can only interact with HTML through a browser.
To manipulate Excel spreadsheets you will need some code that interacts with Excel documents.