grapecity

Selenium driver for testing SpreadJS

你说的曾经没有我的故事 提交于 2019-12-11 15:22:35
问题 How could I make click(events) on the basis of cell position in spreadJs? I try something like: sheet.setActiveCell(3,3); sheet.cellClick(); and sheet.getCell(3,3).cellClick(); But it's not working. Thanks in advance if any solution or advice. 回答1: What you would need to do is essentially create an instance of an action using selenium. For example, you could have a web driver open Chrome, and navigate to one of our samples like so: var webDriver = new OpenQA.Selenium.Chrome.ChromeDriver();