Commit d39623dd authored by 黄奎's avatar 黄奎

页面修改

parent 8eae73dd
...@@ -121,6 +121,16 @@ namespace TicketSpider.Spiders.ClassInRule ...@@ -121,6 +121,16 @@ namespace TicketSpider.Spiders.ClassInRule
{ {
return d.FindElement(By.Name("loginPwd")); return d.FindElement(By.Name("loginPwd"));
}); });
//新增checkbox选中
var checkBoxs = driver.FindElements(By.ClassName("el-checkbox"));
if (checkBoxs != null && checkBoxs.Count > 0)
{
foreach (var item in checkBoxs)
{
item.Click();
}
}
if (inputEle != null && pwdEle != null) if (inputEle != null && pwdEle != null)
{ {
string classInAccount = VTX.FW.Helper.ConfigHelper.GetAppsettings("ClassInAccount"); string classInAccount = VTX.FW.Helper.ConfigHelper.GetAppsettings("ClassInAccount");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment