-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dom/Xpath can't find element - pending replication, some ideas and maybe it is in a frame? #1423
Comments
@KennGuo Hi, if your scenario only requires web automation, I suggest testing this platform: https://www.automa.site |
Hey~In fact, I have tried this tool as well as many other RPA tools. I still love the convenience and beauty of TagUI. I hope to focus on TagUI, thank you very much |
Could you share the website or part of the website's HTML? |
Adding on @KennGuo, is there any frame on the webpage? If something is within a frame, will need to use frame() to select the frame first. Thank you so so much for your kind words! |
(我也是华人,可能喜欢同样的工具用法。我2017开发TagUI,没想到这路一走就走了八年。) |
Hey~I have successfully located it through the following code |
Hi @KennGuo for frame, it is here https://tagui.readthedocs.io/en/latest/reference.html#frame It can support a main frame and one subframe but not more child frames. You can indent the steps to be done under a frame so when you are done don't indent anymore. |
Hi @KennGuo 谢谢你的鼓励和支持!!开发这个工具帮我开了很多路。能够在伦敦居住和工作。该走的路总需要走,大家努力创造更好的未来吧! |
Hey~ I want to click on 用户管理 as shown in the picture. I have tried the complete xpath, dom name, relative path xpath, and ID, class,name。 They are all unable to locate the element. I want to know what caused this. May I ask if you can provide some ideas? Thanks a lot!
![Snipaste_2025-01-06_14-09-18](https://private-user-images.githubusercontent.com/68188691/400317907-9b4d2ecb-b616-422f-9994-c0652e78d5c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MDI1NzIsIm5iZiI6MTczODgwMjI3MiwicGF0aCI6Ii82ODE4ODY5MS80MDAzMTc5MDctOWI0ZDJlY2ItYjYxNi00MjJmLTk5OTQtYzA2NTJlNzhkNWM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDAwMzc1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1Njg4ZjA2YjVmYmUxYzQ3N2Q4NWRhY2JjYzk3ZjYwOWIwN2Y5NGMyMTVlZmQxNjBhMjhkMjE1NzlhMzU5OGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.NPc1DANHdcfrkO4v8OoYvta55U0kt_DnEWVaorPZPD4)
I trired:
click 用户管理
click //[@id="orgadmin/useradm/index"]/cite
click /html/body/div[1]/div/ul/ul/li/dl/dd[4]/a/cite
click /html/body/div[1]/div/ul/ul/li/dl/dd[4]/a
click //[@id="orgadmin/useradm/index"]
The text was updated successfully, but these errors were encountered: