Postgres Check If String Javascript Methods In Selenium