# Error while performing action tap, MobileRecordException: org.openqa.selenium.InvalidSelectorException: java.lang.IllegalArgumentException: Unable to compile

**URL:** <https://forum.katalon.com/t/error-while-performing-action-tap-mobilerecordexception-org-openqa-selenium-invalidselectorexception-java-lang-illegalargumentexception-unable-to-compile/36750>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [November 25, 2019, 3:34am UTC](https://forum.katalon.com/t/error-while-performing-action-tap-mobilerecordexception-org-openqa-selenium-invalidselectorexception-java-lang-illegalargumentexception-unable-to-compile/36750 "2019-11-25T03:34:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bistesting0014](https://avatars.discourse-cdn.com/v4/letter/b/9e8a1a/32.png) [@bistesting0014](https://forum.katalon.com/u/bistesting0014)\
**Post date:** [November 25, 2019, 3:34am UTC](https://forum.katalon.com/t/error-while-performing-action-tap-mobilerecordexception-org-openqa-selenium-invalidselectorexception-java-lang-illegalargumentexception-unable-to-compile/36750/1 "2019-11-25T03:34:55Z")

</div>

i have some warning while i test mobíle apps, the warning is about this on this image its tell me about selenium unable to compile but i didn’t know the meaning and i don’t know what should i do.  
can somebody tell me what should i do?

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/6/6ead62c2c884ce1818ab1bfaa17c029af340e7af.png)

---

<div class="post-metadata">

**Author:** ![aborja](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@aborja](https://forum.katalon.com/u/aborja)\
**Post date:** [May 8, 2020, 11:02am UTC](https://forum.katalon.com/t/error-while-performing-action-tap-mobilerecordexception-org-openqa-selenium-invalidselectorexception-java-lang-illegalargumentexception-unable-to-compile/36750/2 "2020-05-08T11:02:09Z")

</div>

Hi! I’m encountering a similar error as well. Have you found a solution for it?

---

<div class="post-metadata">

**Author:** ![elias.pardo](https://avatars.discourse-cdn.com/v4/letter/e/91b2a8/32.png) [@elias.pardo](https://forum.katalon.com/u/elias.pardo)\
**Post date:** [June 4, 2020, 12:52pm UTC](https://forum.katalon.com/t/error-while-performing-action-tap-mobilerecordexception-org-openqa-selenium-invalidselectorexception-java-lang-illegalargumentexception-unable-to-compile/36750/3 "2020-06-04T12:52:40Z")

</div>

I believe this error is because the xpath string contains a $ characte. Tbh I don’t know why this is an issue, and I’m also trying to work around it, but no solution found yet.
