Xpath error in internet explorer


When i pass the xpath in webelement , i get an error
unexpected token: = @
try = RString.of(byXpath("//DIV[@id=‘prm’]/DIV/SPAN")).text())

Can you help me with this?

Hi @abhaya_jeyar, could you provide more details:

  • in which action do you use the xpath?
  • can you share the xpath you are using the the page url?