gavner25 1 Posted July 9, 2019 Report Share Posted July 9, 2019 How do i use the type text feature on Exbrowser with a variable that keeps changing each time i post an article. This works: //*[@id=cke_930_textInput] but the "930" changes to a different number each time it loads. How can i get around this? Do i use the 'contains' feature or wildcard or something ? Quote Link to post Share on other sites
gavner25 1 Posted July 9, 2019 Author Report Share Posted July 9, 2019 Just to add. This text box im trying to fill only works with the 'id' and nothing else like @class or @type Quote Link to post Share on other sites
HelloInsomnia 1103 Posted July 9, 2019 Report Share Posted July 9, 2019 Maybe something like this: //*[contains(@id, '_textInput')][starts-with(@id, 'cke_')] 1 Quote Link to post Share on other sites
gavner25 1 Posted July 9, 2019 Author Report Share Posted July 9, 2019 It works, great! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.