简体   繁体   中英

How to export data to Excel sheet using Selenium webdriver in C#

I need to export the data from table to Excel sheet on button click, and read the data in the Excel sheet by using the selenium webdriver in C#.

Is there any solution? If there is any method, then please write the full code here.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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