myndeswx Client Регистрация 15.05.2017 Сообщения 436 Благодарностей 104 Баллы 43 13.07.2017 #1 Hello, it's been about 3 hours and i can't find outt how to click radio box with C# please help. Example 1 - works (with builder) But #form changes, so i would like to make it in C# Thank you
Hello, it's been about 3 hours and i can't find outt how to click radio box with C# please help. Example 1 - works (with builder) But #form changes, so i would like to make it in C# Thank you
LightWood Moderator Регистрация 04.11.2010 Сообщения 2 382 Благодарностей 917 Баллы 113 13.07.2017 #2 Maybe try to find other unique attribute? id, name, etc?
myndeswx Client Регистрация 15.05.2017 Сообщения 436 Благодарностей 104 Баллы 43 13.07.2017 #3 Solved with xpath Код: HtmlElement he = instance.ActiveTab.FindElementByXPath("//*[@id=\"domainSubdomain\"]/div[1]/input",0); if (he.IsVoid) return -1; he.RiseEvent("click", instance.EmulationLevel); Реакции: LightWood
Solved with xpath Код: HtmlElement he = instance.ActiveTab.FindElementByXPath("//*[@id=\"domainSubdomain\"]/div[1]/input",0); if (he.IsVoid) return -1; he.RiseEvent("click", instance.EmulationLevel);
LightWood Moderator Регистрация 04.11.2010 Сообщения 2 382 Благодарностей 917 Баллы 113 14.07.2017 #4 Thanks for sharing with other users.
EtaLasquera Client Регистрация 02.01.2017 Сообщения 526 Благодарностей 112 Баллы 43 17.07.2017 #5 Xpath is the god of zenno. Реакции: LightWood
LightWood Moderator Регистрация 04.11.2010 Сообщения 2 382 Благодарностей 917 Баллы 113 18.07.2017 #6 Yes. Really good thing. But I never find a desire for start to use xpath regulary. I always finded solutions with usually zenno steps.
Yes. Really good thing. But I never find a desire for start to use xpath regulary. I always finded solutions with usually zenno steps.