title: How to change xpath to css in selenium
body: <p>I am having an issue in selenium.
  I have this xpath that is working well</p>
  
  <pre><code>//*[@id='info_country']//div[contains(@class,'ant-select-selection-selected-value')
  </code></pre>
  
  <p>and I try to change it and use css selector instead of xpath
  I write this code:</p>
  
  <pre><code>#info_country .ant-select-selection-selected-value ng-tns-c17-151 ng-star-inserted
  </code></pre>
  
  <p>and the consul not find the path</p>
  
  <p>can someone advise
  this is the consul and I pointed the element I want to locate</p>
  
  <p><a href="https://i.stack.imgur.com/cvMXC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cvMXC.png" alt="enter image description here"></a></p>