IronPro Posted January 5, 2020 Share Posted January 5, 2020 Now I am focusing input field on chrome browser by clicking specific co-ordinates in code. But the positions of those fields are changed all the time so I can not ensure their position every time. Are there any way to detect and focus web elements by its text, id or something? Thank you. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 5, 2020 Moderators Share Posted January 5, 2020 Moved to the appropriate forum. Moderation Team "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
IronPro Posted January 5, 2020 Author Share Posted January 5, 2020 Now I am focusing input field on chrome browser by clicking specific co-ordinates in code.But the positions of those fields are changed all the time so I can not ensure their position every time.Are there any way to detect and focus web elements by its text, id or something?Thank you. Link to comment Share on other sites More sharing options...
Nine Posted January 5, 2020 Share Posted January 5, 2020 That should do the work... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
IronPro Posted January 5, 2020 Author Share Posted January 5, 2020 I am trying to get input field and type text there. Since I am new to AutoIt and need help how to find the input field using _WD_ or xpath. Thanks. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 5, 2020 Moderators Share Posted January 5, 2020 @IronPro would you please stop posting the same question all over the place? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
IronPro Posted January 5, 2020 Author Share Posted January 5, 2020 Sorry for that. Could you let me know the solution for this question? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 5, 2020 Moderators Share Posted January 5, 2020 (edited) How about you show some patience, please, instead of expecting everyone to fix it for you right away. I see Nine already responded to one of your threads, have you taken his suggestion and read through the material he linked you to? Be aware, this is not a forum where you put in a request and someone barfs up code for you; you will receive the most help when you show some effort. Edited January 5, 2020 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
IronPro Posted January 5, 2020 Author Share Posted January 5, 2020 Thanks for your care. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now