Cannot locate Dropdown list

Cannot locate the dropdown state- california should I change the xpath, Please let me know what is causing and I did give scroll and visible its not working.Thanks in advance

Unable to click on object ‘Object Repository/EXAMPLE/Page_Experience/li_California’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/EXAMPLE/Page_Experience a New /li_California’ located by ‘By.xpath: //li[(text() = ‘California’ or . = ‘California’)]’ not found)

on Katalon recorder this is the xpath

xpath=(.//*[normalize-space(text()) and normalize-space(.)=‘California’])[1]/following::input[1]

Hello, try to use contains sometimes getText() brings additional characters:

xpath=(//li[contains(text(),'California')])


Thanks for the reply, will give a shot