Ember JS Xpath is not recognized




I was trying to access elements on a page which has been built on ember js framework. I was not able to accesss the element by Xpath provided by ember js. Workfusion was throwing an error stating no such element found. How can I resolve this?



Could you send us the page url so we could check it?




Thanks for getting back.

URL : https://www.linkedin.com/m/login/

It is a simple POC for I’m working on. Where the use case is to get the top 3 search results for a particular job profile in Linkedin.

Vinay Christopher



Don’t use xpaths that contain @id=“ember…”. Use other attributes (like class) or HTML tree nodes.
For example, you can write the xpath of the job title link in the first result in job search as: //*[@class=“jobs-search-results”]/ul/li[1]/div[2]/div[1]/div[1]/a and then iterate through the list of job results using index


Sorry for the late reply. Thanks for the suggestion it worked.