Hi,
I am creating a website from scratch in html, css and javascript.
I have a Navbar, a Input text and a button.
UiPath doesn’t recognise any of it.
How can i build the html page so that UiPath will recognise all the elements inside it?
Hi,
I am creating a website from scratch in html, css and javascript.
I have a Navbar, a Input text and a button.
UiPath doesn’t recognise any of it.
How can i build the html page so that UiPath will recognise all the elements inside it?
Uipath (exactly all Windows based RPA solutions) handles based on WIndow Uielement.
However, the website handles with Html elements.
Therefore, if it is not an Html element (such as ActiveX), it is visible to our eyes, but not as an Html element.
There is a way to do this, by extracting the Uielement (like Excel or legacy program) elements from the website rather than the Html element.
For example
I’ll get element this text two ways.
Html Element.
Ui Element
Web pages can be extracted in the same way as when extracting elements such as office programs and legacy programs. (Because Internet Explorer is a kind of program!)
In summary, if the Html element is missing or inaccessible, you can still handle it this way.
Practice once with this webpage. Please comment if you have any questions.
If you try the UiExplore on this very page, does it behave as expected? otherwise, what is your browser? (for once, using IE might solve a compatibility problem )
I’ve read that UiPath now can leverage webdriver without previous browser extensions but installing them might help (I’m still using the extensions without problem). Here, for firefox:
I have the extension installed … because whitout it, it’s not doing anything and it’s saying that i don’t have the extension installed.
Yes it’s working good on this site, it’s recognising all the elements.
It’s just not recognising the elements on my website, maybe i need to built it in other way.
If it’s helping with something, the website it’s loaded from my pc, so the url it’s actually a local path, so it’s not on the “internet”.
I assume that Uipath was not aware of the Web element, and I offer you another alternative.
The method I gave the guide is a very well used method. However, you must do it with Internet Explorer.(I did this with other solutions.)
You can handle web pages using Invoke Javascript.
Document.getElementsByTagName() - Web APIs | MDN
HTML DOM Document getElementsByTagName() Method
If it is not easy, if you send an Html file, I will capture and send the Ui element.(jihunkimkw@gmail.com)
It’s wierd because on Internet Explorer it works and recognise all the items … but why is not working in Chrome?
Got it, it was a special setting.
Extensions → UiPath Web Automation → Details → Enable Allow access to file URLs
But thank you all for trying to help me, i really appreaciate it.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.