硒C#找不到元素
driver.FindElement(By.XPath(@".//*[@id='nnnn_record|OneToMany|SubGridAssociated|Mscrm.SubGrid.ndis_record.AddNewStandard']/span")).Click();
试图\\|
逃脱,但仍然找不到
driver.FindElement(By.XPath(@".//*[@id='nnnn_record\\|OneToMany\\|SubGridAssociated\\|Mscrm.SubGrid.ndis_record.AddNewStandard']/span")).Click();
'\|' is not allowed in Visual Studio