Selenium, combining css issue : <p>I'm having an issue with css ( cannot find the proper way how to write it)</p>

<pre><code>&lt;div class="d-flex flex-row align-items-center justify-content-end col-6"&gt;
&lt;button disabled="" class="btn btn-primary disabled"&gt;'Text 1'&lt;/button&gt;
&lt;button disabled="" class="btn btn-primary disabled"&gt;'Text 2'&lt;/button&gt;
&lt;button disabled="" class="btn btn-primary disabled"&gt;'Text 3'&lt;/button&gt;
&lt;button disabled="" class="btn btn-primary disabled"&gt;'Text 4'&lt;/button&gt;
&lt;button disabled="" class="btn btn-primary disabled"&gt;'Text 5'&lt;/button&gt;
&lt;button disabled="" class="btn btn-primary disabled"&gt;'Text 6'&lt;/button&gt;
&lt;/div&gt;
</code></pre>

<p>How can I write it down if I want to select 'Text #3' for example?
And one more, how can I write down smth like <code>parrent[class='smth'] child['Text 3']</code></p>
